I'm really struggling to find the perfect timing system for my games. The games all involve some degree of physics simulation and I have heard delta time is not the best for this kind of system. Fixed interval timing was suggested so I tried the following example...
http://www.blitzbasic.com/Community/posts.php?topic=70516
The problem is when I drag the window in windowed mode the update starts to get very backed up. Also if I set the refresh rate to something higher than the processor can handle (simulating a crappy computer) it also starts to get backed up and eventually goes out of control.
I was also looking at
http://www.gaffer.org/game-physics/fix-your-timestep/
but i don't quite understand the stuff with the accumulator.
I'm wondering if there are any other resources I should be looking at in regards to this? or any suggestions in general?
http://www.blitzbasic.com/Community/posts.php?topic=70516
The problem is when I drag the window in windowed mode the update starts to get very backed up. Also if I set the refresh rate to something higher than the processor can handle (simulating a crappy computer) it also starts to get backed up and eventually goes out of control.
I was also looking at
http://www.gaffer.org/game-physics/fix-your-timestep/
but i don't quite understand the stuff with the accumulator.
I'm wondering if there are any other resources I should be looking at in regards to this? or any suggestions in general?