Questions (Basic Puzzle)
Last updated
Last updated
The basic puzzle question component is very easy to use. Drag the component from the subcomponents bar to the scene you're working on.
To resize it, use the arrow icon in the top menu.
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.
Click on the component and then on the settings gear icon that will appear in the top menu. The configuration options are as follows:
Puzzle Identifier: a default ID appears, but you can rename it if desired.
Solutions: here is where you indicate the valid answers. If there are multiple correct answers, click "+" and add all the necessary ones.
Ignore Case Letters: if you check this option, the player can write the answer in either lowercase or uppercase letters. You’ll need to add all possible answers in lowercase.
On the left, you'll see another section called "Others," where you can:
Enable the Clear on Error option, meaning that if the player enters an invalid answer, it will be erased immediately after checking, leaving the space blank for a new attempt.
Mute the correct or incorrect answer sound that plays after the response is checked.
When the player enters their answer in the puzzle, there are only two options: either the answer is correct, or it is incorrect.
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.
The available options are:
Go to another scene in the game
Add X points
Subtract X points
Visit an external URL
When the answers can be very broad, remember to include all possible solutions as valid answers.
For example, if the correct answer is the name of a street, the player might write the answer in different ways, such as: Calle San Bernardo, Calle de San Bernardo, San Bernardo...