Introduction: In the Mini World Game has answer questions type map, it has two type: choose the best answer and fill answer in the input box (the best answer). Today, I will tutorial about type 2 - fill answer in the inbox.
Step 1: Create a new UI
Step 2: Create a text for the questions, an example: (Question 1. 12+12 = ?)
Step 3: Create an input box for the player to fill answers into it.
Step 4: Input your contents here
Step 1: Create two variables a and b (It must be Private Variables If you wanna create a multiplayer map), in this tutorial, I will instructions about Private Variables. If you wanna create global variables, it's nope but all players must reply only a question so it's fun
Repeat for variable b
Step 2: Create a new block
Step 3: Random between a and b
choose action: random integers from 1 to 10 (you can change it but it must in set of integers)
Repeat for variable b
Step 4: Add event: “When player enter string on the interface”
Step 5: Create a new homemade
Step 6: Add if… then… otherwise condition
Explain: If players input a true answer, the value adds 1, if players input incorrect answer, the box chat will chat: “Please input again”
Step 7: Create a new variable “ a + b” to determine value player input and sum of a and b
Step 8: Set value “a + b” = variable a + variable b
Step 9: Determine variable sum of a and b = Player's string
Step 11: Display announcement:
All trigger:
If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord