Main game loop measure = 10 ms

BlitzMax Forums/BlitzMax Beginners Area/Main game loop measure = 10 ms

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.

Its not really that much of a rewrite. Just add Deltatime code into the loop and multiply everything that moves with your delta variable.

instead of : player.x = player.x + Speed
you write : player.x = player.x + (Speed * delta)

erm.. its been a long time since I've coded.. someone correct me :D