Jump to content
  • Advertisement
Sign in to follow this  
hannibar

Framerate vs Refreshrate

This topic is 4966 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

I'm using a timer to limit the framerate in my game. I just found out how to do it, and it works fine. There is a problem though. First of all I need to be able to play the game well in windowed AND fullscreen mode. The refreshrate for the fullscreen mode is 60hz, and the refreshrate in windowed mode is 85hz. I want to limit the framerate to 60hz. In fullscreen mode this works well (nothing really changes), but in windowed mode, the movement in my game isn't smooth. I figured this is because the refreshrate is 85hz, and the framerate 60hz. So 25 frames are shown on the screen double as long as the other 35 frames. When I change the framerate to 42.5 (85 / 2) it runs smoothly in windowed mode, but I get trouble in fullscreen mode. Does anyone know how to solve this ? (Except for changing the framerate to 5 :) Thanks in advance.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!