Waittimer actually gives a return value of how many ticks have passed.
Ah, another missing fact from the docs! So, do you do something like this, in your main loop?While Not KeyHit(1) updates = WaitTimer(fps_timer) For n = 1 To updates update_game() Next render_game() VWait : Flip False Wend
I just tried this method and it does keep the game speed constant, regardless of FPS, but, it's pretty jerky. :/ I think my background tasks are mucking things up.