I wanna make a quiz, and at the ed, it tells a persentage of what they got. How do I do this? PLEASE HELP!!!!!!
Offline
Project:
Totals:
Sprites: 1
Stacks: 1
Unique costumes: 3
Unique sounds: 2
--------
Sprite: Stage
Costumes (1):
background1 (480x360)
Sounds (1):
pop (0:00:00)
No stacks.
--------
Sprite: Sprite1
Costumes (2):
costume1 (95x111)
costume2 (95x111)
Sounds (1):
meow (0:00:01)
Stacks (1):
when green flag clicked
set "right" to "0"
ask "q1" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q2" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q3" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q4" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q5" and wait
if ((answer) = "correct anwser")
change "right" by 1
say (join "You got " (join (((right) / 5) * 100) "%")) for 5 secs
end
--------
Offline
bubby3 wrote:
Project:
Totals:
Sprites: 1
Stacks: 1
Unique costumes: 3
Unique sounds: 2
--------
Sprite: Stage
Costumes (1):
background1 (480x360)
Sounds (1):
pop (0:00:00)
No stacks.
--------
Sprite: Sprite1
Costumes (2):
costume1 (95x111)
costume2 (95x111)
Sounds (1):
meow (0:00:01)
Stacks (1):
when green flag clicked
set "right" to "0"
ask "q1" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q2" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q3" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q4" and wait
if ((answer) = "correct anwser")
change "right" by 1
ask "q5" and wait
if ((answer) = "correct anwser")
change "right" by 1
say (join "You got " (join (((right) / 5) * 100) "%")) for 5 secs
end
--------
Say What? LOL. I'm just a beginner xD
Offline
when gf clicked ask [(any question)] and wait if <<answer> = [(answer to question)]> say [Correct!] for (1) secs next background//next question else if <<answer> = [(wrong answer)]> say [Incorrect!] for (1) secs endHope this will help!
Last edited by maxamillion321 (2012-12-19 17:26:23)
Offline
Omg! Thanks! This helps a ton! I just need to figure out how it works it! Thanks you AGAIN! That was such a big help.
Offline
Brightsigh wrote:
Omg! Thanks! This helps a ton! I just need to figure out how it works it! Thanks you AGAIN! That was such a big help.
Your welcome. I'll friend you.
Offline