SFML community forums
Help => General => Topic started by: Assassinbeast on October 24, 2012, 01:03:26 am
-
Hi everybody :)
I dont really understand the timers/clocks. I just want my game to be on 60 fps on any computer.
In Allegro, it was very very easy.... just make a variable, start it and wupti... its 60 fps.
But in SFML it seems a little more confusing to me.
i looked at the tutorial here:
http://www.sfml-dev.org/tutorials/2.0/system-time.php (http://www.sfml-dev.org/tutorials/2.0/system-time.php)
But i didn't really understand it :(
Hope someone helps
thanks!!!! ;D
-
http://www.sfml-dev.org/tutorials/2.0/window-window.php
in controlling the framerate section.. can't imagine it being any simpler..
-
How about window.setFramerateLimit(60);? ;)
-
Thanks for help!!! that was easy ;D