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.

Recommended Answers

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

Jump to Post

All 2 Replies

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

api is win32

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.