Animation speed seems to change? Need help

Blitz3D Forums/Blitz3D Programming/Animation speed seems to change? Need help

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

BTW you may also use delta-t as the parameter to make sure the animation runs with the same overall speed on machines with diffrent power/framerate. Something like:
old_t=t
t=millisecs()
delta#=float(t-old_t)/16.67
updateworld(delta)

You may have to initialize old_t before you start the main loop, eg: old_t=millisecs()-17