Rethink - L1
Last updated
Last updated
'Rethink' is one of our new words starting with the letter R that can help save Terra. When this button is clicked, get ready to learn more about this new 'R' and guess if the example corresponds to 'Rethink' or not.
When the game starts we want to position the 'Rethink' button at the top left side of the Stage, just under the 'Rot' button.
When this sprite is clicked, we want it to ask a true or false question of your choice about the R word 'Rethink' with a squeaky voice.
E.g. : R or Not? An example of 'Rethink' is choosing to borrow books from the library instead of buying them. Type 't' if true and 'f' if false.
Make sure to ask the player to write 't' for true and 'f' for false, otherwise the code will not be able to recognize the player's answer. For example, 'true', 'True', or 'T' will not be recognized.
When this sprite is clicked, your question in the last step will appear in a speech bubble and wait for the player to write their answer in a box.
Again, this step is packed with blocks, but do not panic, it is the same idea as the last step of the 'Rot' sprite. You did it once, you can do it again!
All the following blocks are placed below the blocks of the last step and they have two tasks in the game:
Determine if the player got the correct answer or not
Reveal the appropriate message depending on the player's answer
You get to choose what messages you want to appear depending on the player's answer!
The 'Rethink' button is ready to go! In the next section, we will create the 'Refuse' button.
The Sleuth, Achievement. Read the code below and identify what parts of it are in charge of the roles described above (determine and reveal)