Smoothing Delta Timing

Miscellaneous Forums/General Discussion/Smoothing Delta Timing

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.

That's a good explanation thanks. Thing is, if you get a single frame of say 50ms then the next few frames will also take that long (although there'll only be 2.5 of them in 125ms of course). What is the advantage of delaying future frames even though they might be safe to run at full frame rate again? Perhaps it should pick an average not the highest? (although in that case you'd need to populate the array with sensible "expected" values right at the start of the game.

I guess the 125 sample time period could also be tweaked. But as you say, you didn't really notice any difference anyway...