Page 1 of 1

Game speed

Posted: Wed Jul 04, 2007 12:25 am
by Armoured
Hi
How I can adapt the frames rate of a game to obtain a constant speed on CPU with different clocks? Please I need an example... :?


Thanks

Posted: Wed Jul 04, 2007 12:57 am
by Rescator
Wow! That's a long story, and it's still causing many people headaches.
http://www.purebasic.fr/english/viewtop ... fresh+rate
I suggest you read through that entire thread (from start to finish) as it discussed most issues around this plus further usefull links.

Posted: Wed Jul 04, 2007 2:40 am
by Joakim Christiansen
The simple way of doing it is using SetFrameRate()