How do you make it so that when you are using an ask block you can make it so that if the player does not choose type the response correctly he loses a life? I'm making a game, and you have to type in the four digit number you see. If you type in the correct 4 digits you move on to the next round. But when the player types in the wrong answer I want to make it so that it says "Wrong!" and you lose a life. How?
Offline
Here you go:
<if><< <not> <( answer <=> the right answer here )> >>
<change{ lives }by( -1
<say[ -1 life ]
<end>
Offline
Why thank youz
Offline
But "if not " does not have a text box, so how could you write text there? You can't type the answer in.
Last edited by turtlewarrior (2009-07-22 12:25:18)
Offline
I assume that you create a variable for the answer and a variable for the correct answer.
Offline
Thanks, that helps.
Offline
No problem. I am trying to learn this stuff myself.
Currently, I have created a grand total of 1 project in about 4 hours. But luckily the learning curve is pretty gentle.
Offline
BTW, I love the games that you have already done. Keep up the good work.
Offline