Hi
I was making this simple game
print "Hello"
print "Welcome to Circle Insanity"
input "Select Circles Amount";circles
score=0
Set text opaque
for n=1 to circles
x#=mousex()
y#=mousey()
number#=n
if even_or_odd(number#) = 0
cls
cx=rnd(400)
cy=rnd(400)
ink rgb(255,0,0),1
circle cx,cy,30
ink rgb(0,255,0),1
circle cx,cy,30
con1=cx+30
con2=cx-30
con3=cy+30
con4=cy-30
endif
if x#<con1 and x#>con2 and y#<con3 and y#>con4 and mouseclick()=1
score=score+1
wait key
endif
next n
gosub stop
stop:
cls
print "Your score is ";
print score
print "The total possible for a computer was ";
print n-1
print "The total humanly possible was about ";
human#=n/100
print human#
print "Thanks for playing"
wait key
end
return
function even_or_odd(num#)
result=0
test=int(num#/2)
if abs(test) < abs(num#/2) then result=1
zcv=rnd(10)
if zcv=0 or zcv=1 or zcv=2 or zcv=3 or zcv=4 or zcv=5 or zcv=6 or zvb=7 or zcv=8
result=1
endif
endfunction result
and ran into a problem. Everything works fine, you select the amount of circles you want to appear in sequence and then you try to click on them. If you do, the game pauses, you press any button and it continues. Once it is over, it displays the amount of circles you hit, how many possible etc. etc. However, as you may have noticed the circles move really fast popping up and then disappearing in under a second. Is there any way I can slow this down? So that the loop happens slower so the user has more time to try to click the circle.
Thanks
Data