I would like to have help to keep track of how many you get right/wrong.
Q1:
do
Rem Question 1
cls
Center text 320,240, "1. What are igneous rocks made of?"
Center Text 320,260, "A) Magma"
Center Text 320,280, "B) Sand"
Center text 320,300, "C) Metal"
Center text 320,320, "D) Milk"
if keystate(2)=1 then gosub good1:
if keystate(3)=1 then gosub bad1:
if keystate(4)=1 then gosub bad1:
if keystate(5)=1 then gosub bad1:
loop
good1:
cls
play music 3
load bitmap "E:\Nathan\Doomsday Rocks\Pictures\correct orig.bmp"
wait 2000
delete music 3
delete music 4
load music "E:\Nathan\Doomsday Rocks\music\wrong.mp3", 4
load music "E:\Nathan\Doomsday Rocks\music\correct.mp3", 3
gosub Q2:
bad1:
cls
play music 4
load bitmap "E:\Nathan\Doomsday Rocks\Pictures\wrong orig.bmp"
wait 2000
cls
Center Text 320,240, "The correct answer was MAGMA!"
Wait 3000
delete music 3
delete music 4
load music "E:\Nathan\Doomsday Rocks\music\wrong.mp3", 4
load music "E:\Nathan\Doomsday Rocks\music\correct.mp3", 3
gosub Q2:
This is a portion of my code. HOw can I keep track of how many right and wrongs there are?
Thanks,
Nathan
You are entering the Wu Dynasty. Boomshakalaka
-Nathan