Jump to content

View more

Image of the Day

#ld38 #screenshotsaturday Mimosa Fizz action gif #2 https://t.co/TUzdppvfUL
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Making my game run slower

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 Lotan   Members   

122
Like
Likes
Like

Posted 04 March 2000 - 07:40 AM

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?

#2 NewDeal   Members   

134
Like
Likes
Like

Posted 05 March 2000 - 09:01 AM

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.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.