In this section:
time=timer()
do
if timer()>=tick
tick=tick+100
if frame=2
frame=1
else
inc frame
endif
sprite 1,sprx,spry,frame
if timer()+time=10000 then exit
endif
sync
loop
Try
time=timer()
do
tick=timer()
if tick-time>100
tick=tick+100
if frame=2
frame=1
else
inc frame
endif
sprite 1,sprx,spry,frame
if timer()+time=10000 then exit
endif
sync
loop
You were checking if the current timer() was greater than a value that was equal to zero.
hope I helped,
Crazy Donuts
Juvenile Industries
Current Project: KillZone(FPS)
Soon to come:An rts, and a snowball fight game