Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: GetFrameTime() in SFML 2.0  (Read 2018 times)

0 Members and 1 Guest are viewing this topic.

paullik

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
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?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: GetFrameTime() in SFML 2.0
« Reply #1 on: November 04, 2012, 04:54:33 pm »
sf::Clock.
Laurent Gomila - SFML developer

paullik

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: GetFrameTime() in SFML 2.0
« Reply #2 on: November 04, 2012, 05:02:06 pm »
Thanks.