1.11M Members

how to restrict fraimes per second / speed in c++

 
0
 

hi. im programming a 2d game and on the university computers it runs nice and slow but on my i7 laptop the ball travels at a million miles per hour. how can i restrict the speed/fps.

 
0
 

Wait for the screen to refresh. See if your API will let you do that. What API are you using anyway?

 
0
 

api is win32

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: