Fix Your Timestep!

BlitzMax Forums/BlitzMax Programming/Fix Your Timestep!

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.

Yeah actually the beauty is it doesn't complicate drawing at all. All that's needed is an additional 'draw_x= ( current_x * tween ) + ( new_x * (1.0 - tween) )' etc. All my graphics derive from a bass class anyway, so it only needed to change one routine, rather than add delta time to all logic.

Still... something is slightly broken!

I will have a look at that code, Tony, hopefully I can spot a difference.