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.

It's a good idea to slip a 'gate' value in no matter what, in fact -- a fairly standard modification to delta time checks current delta against an averaged delta over time, and if the current delta is, say, twice, three times or whatever larger (or smaller) than the average value, to limit that value to 2 or 3 times the average. Not only does that guard against MSW's case, but it also keeps you safe when Windows decides to grab a timeslice for itself and muck up the works.