Hi
How do i create hotspots and scoring for a quiz based on the who wants to be a millionaire format?
I have a screen with a question stem and four options posted. How do I make the options clickable? Also, how do I add score for correct answer and deduct score for wrong answer.
All help appreciated.
Thanks
SN
Offline
Use the "when [insert option name here] is clicked" block.
Scoring:
1. Create a variable and call it "score"
2. for every wrong answer, change "score" by -10
for every right answer, change "score" by 10
Last edited by scratch_yoshi (2011-04-04 23:52:14)
Offline
To make it so that each answer responds to a click, the easiest way is to make a sprite for each option. So you will need four sprites if there are four possible answers. Each sprite can have many different costumes so you can have any number of questions with just four sprites.
To determine if the answer given is correct or not, you may want to test on the costume number or use a variable to keep track of which question is being asked.
If this is not a homework assignment, I can give you a demo
Offline
use a variable and right click on it and click large readout. Name it score
_____________________________________
Flying is learning how to throw yourself at the ground and miss." - Douglas Adams
FREE STUFF
My Youtube
sorry no videos yet
I Play Minecraft
Last edited by mrak (2011-04-06 19:03:39)
Offline
[blocks] use this to make stuff clickable: [/blohttp://scratch.mit.edu/forums/viewtopic.php?id=60215#req_messagecks]<when[ ]clicked>
Offline