Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Window
»
GetFrameTime() in SFML 2.0
Print
Pages: [
1
]
Author
Topic: GetFrameTime() in SFML 2.0 (Read 2013 times)
0 Members and 1 Guest are viewing this topic.
paullik
Newbie
Posts: 4
GetFrameTime() in SFML 2.0
«
on:
November 04, 2012, 04:07:04 pm »
I cannot find getFrameTime() in SFML 2.0 in order to create hardware independent animations without restricting the framerate (Vsync and setFreameRate() included).
What are you guys using?
Logged
Laurent
Administrator
Hero Member
Posts: 32498
Re: GetFrameTime() in SFML 2.0
«
Reply #1 on:
November 04, 2012, 04:54:33 pm »
sf::Clock.
Logged
Laurent Gomila - SFML developer
paullik
Newbie
Posts: 4
Re: GetFrameTime() in SFML 2.0
«
Reply #2 on:
November 04, 2012, 05:02:06 pm »
Thanks.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Window
»
GetFrameTime() in SFML 2.0