Hi this is Vee
I thought timerbased was this
if timer() > oldtimer + 25
runGame()
oldtimer = timer()
endif
However I just found thats not how its done.
Also i'm not using the right way of doing it, but its not working.
The balls don't even move. lol
So here is my code
function ControlBalls()
elapsedTime=(timer()-startTime)/1000
for i = 0 to 9
ball(i).X = ball(i).X +ball(i).VelX*elapsedTime
ball(i).Z = ball(i).Z +ball(i).VelZ*elapsedTime
position object ball(i).ObjNum,ball(i).X,0,ball(i).Z
next i
startTime = timer()
endfunction
Vee