Game speed

Advanced game related topics
Armoured
Enthusiast
Enthusiast
Posts: 365
Joined: Mon Jan 26, 2004 11:39 am
Location: ITALY
Contact:

Game speed

Post 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
User avatar
Rescator
Addict
Addict
Posts: 1769
Joined: Sat Feb 19, 2005 5:05 pm
Location: Norway

Post 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.
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

The simple way of doing it is using SetFrameRate()
I like logic, hence I dislike humans but love computers.
Post Reply