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

Author Topic: My games have lost all of their timing with an SFML update.  (Read 1822 times)

0 Members and 1 Guest are viewing this topic.

MarthKoopa

  • Guest
I use time based movement in each of my projects, and it's as simple as calling

Time      = Screen.GetFrameTime();

every loop, then multiplying all movement by Time

I recently updated SFML from Github to try and fix some crashing errors, but now all of the timing is off and I don't know how to fix it.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
My games have lost all of their timing with an SFML update.
« Reply #2 on: June 08, 2011, 10:26:45 pm »
You don't know how to convert milliseconds to seconds? Seriously :P
Laurent Gomila - SFML developer

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
My games have lost all of their timing with an SFML update.
« Reply #3 on: June 08, 2011, 10:41:10 pm »
Sure :D



Laurent Gomila - SFML developer