Main loop - does everyone do the same stuff ?

Blitz3D Forums/Blitz3D Beginners Area/Main loop - does everyone do the same stuff ?

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.

morduun - I'm running with your delta time code, but I AM experiencing the jump effect you mention when windows pinches a timeslice.

Ok, to implement this "gate value" you mention to steady the delta time, I would introduce a new global to store the average delta time, and compare that to the current delta time.

so, if the current deltatime was say, in excess of 200% of the average deltatime, then set the current deltatime to 200% of the average deltatime ?