16
General / How does the timers/clocks work?
« 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
But i didn't really understand it
Hope someone helps
thanks!!!!
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
But i didn't really understand it
Hope someone helps
thanks!!!!