• Advertisement

Archived

This topic is now archived and is closed to further replies.

Making my game run slower

This topic is 6533 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Here''s my problem... when I run my game as fast as it can, it looks great(smooth animation), which is at 100 fps(limited by the DDFlip and my monitor''s refresh), but when I try to slow it down to 50 or 30 fps it seems to be choppy. Any advice on how to take care of this?

Share this post


Link to post
Share on other sites
Advertisement
I think what u need is some sort of timer function. A standard way of doing this is to measure the time used for drawinf each frame. When u need to update the sprite position u move em a distance in relation to the time it took to draw the frame.
Theres an article on this subject in the gamedev''s archives.

Share this post


Link to post
Share on other sites

  • Advertisement