I am trying to figure how to make questions and show them on scratch. Can you please help me. My project is going to be a maze and in order to get through the maze you must answer the questions correctly, I just need to figure out how to do the questions. Any help would be grateful.
Offline
when i receive [question v] ask [your question] and wait if <(answer) = [your question]> do what ever you want enddoes this help?
Offline
This block is what you want:
ask [anything you want] and waitA speech bubble will appear and a bar for typing in answers will pop up at the bottom of the screen. There is also this block:
(answer)You can use blocks in ways like this. Play around with this script:
when gf clicked ask [what's your name?] and wait say (join [Hello ](answer))Enjoy playing around with these blocks
Last edited by tree-hugger (2012-11-27 22:03:03)
Offline
Oh you can do things like this too:
when gf clicked ask [Are frogs amphibians?] and wait if <(answer) = [Yes]> say [Your right!] for (2) secs end if <(answer) = [No]> say [Sorry, your wrong!] end
Offline