Padlock (Advanced Puzzle)

Drag the component from the subcomponents bar to the scene you're working on.

All the minigames and puzzles must be set up with actions to work properly and also define what happens once the player wins, finishes or lose.

How to change the component style

To resize it, use the arrow icon in the top menu.

There are four different padlock designs available (see the image below). All of them work and are set up in the exact same way. You can freely choose the one that best fits your game’s design.

How to set up the Padlock puzzle

Click on the puzzle and then on the settings gear icon that will appear in the top menu or double click on the puzzle.

Puzzle

Here you can define:

  • Password length → Set the number of characters (minimum 3, maximum 5).

  • Symbols → Choose between letters or numbers (you cannot mix both).

  • Solutions → Add one or multiple valid solutions for the puzzle.

  • Preview → Check how the padlock will look and test the combinations.

Advanced

In the Advanced settings you can:

  • Mute the game.

  • Change the puzzle volume.

  • Set the wait time (in seconds) between when the player solves the padlock and when the win or lose actions are executed.

Player interaction

Players can rotate the padlock wheels to set the right combination and unlock it.

How to set up the actions when the player interacts with the puzzle

There are different actions you can configure for this game.

When the player solves the padlock

You can set up one or more of the following actions:

  • Go to another scene in the game

  • Add X points

  • Subtract X points

  • Visit an external URL

When the player fails a part of the combination

You can also define actions when the player selects an incorrect combination. Possible actions include:

  • Visit an external URL

  • Subtract X points

  • Add X points

  • Go to another scene in the game

It's very important to specify what should happen in each case. Click on the Actions icon in the top menu and add one or more actions for both when the player gets the puzzle right or wrong.

Last updated