Skip to main content
gamedev.net
🔒 Locked

Steptiming

Started by Snash Aug 9, 2002 at 12:26 PM 0 replies 450+ views
Original Post
Snash
Snash
I know, it''s been asked hundreds of times, but I couldnt find the article. I''m looking for the article about "Steptiming" getting the program to run at the same speed on deffrent computers. I know how to do it, using GetTickCount() and calculate how much time have passed since the last frame. But I thought there might be a better/smarter way.
shurcool
shurcool
ok, take a look at this article, it talks about fixed time step model. there's also variable time step model, which is basically moving something each frame before rendering, depending on how much time the last frame took. that's what all people start out with. fixed time step model has its disadvantages and advantages. now that you know the names, google can help you.

---
shurcool
wwdev


[edited by - shurcool on August 9, 2002 2:22:02 PM]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.