31
System / Framerate regulation question
« on: January 31, 2018, 04:39:15 pm »
Hello!
I am really clueless when it comes to framerate regulation.
Im aware there is a nice function for this in SFML... however:
I want to do it the hard way and make it all myself.
I dont want sourcecode, im searching for someone who can explain to me what to do in words.
My goal is to capping the framerate of my game by 60 fps.
I have no problem when it comes to measuring time, the problem i have is i simply dont know how to cap framerate.
Thanks in advance!
EDIT: If it helps to explain, of course id like to see sourcecode.
MfG Bizarreofnature!
I am really clueless when it comes to framerate regulation.
Im aware there is a nice function for this in SFML... however:
I want to do it the hard way and make it all myself.
I dont want sourcecode, im searching for someone who can explain to me what to do in words.
My goal is to capping the framerate of my game by 60 fps.
I have no problem when it comes to measuring time, the problem i have is i simply dont know how to cap framerate.
Thanks in advance!
EDIT: If it helps to explain, of course id like to see sourcecode.
MfG Bizarreofnature!