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

Author Topic: Getting dt in SFML.Net 2.0  (Read 2484 times)

0 Members and 1 Guest are viewing this topic.

MarekkPie

  • Newbie
  • *
  • Posts: 19
    • View Profile
Getting dt in SFML.Net 2.0
« on: March 29, 2012, 11:29:37 pm »
I seem to remember (though may be mistaken) that the delta time variable was accessed through a RenderWindow instance, yet I don't seem to see it there anymore. In the SFML 2.0 documentation, you get this from a Clock instance, but that also doesn't seem to exist in SFML.Net (since that comes from the System module, which isn't included in SFML.Net). Where would I get dt in SFML.Net 2.0?

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Getting dt in SFML.Net 2.0
« Reply #1 on: March 30, 2012, 08:02:59 am »
Look at the SFML example applications ;)
Laurent Gomila - SFML developer

MarekkPie

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: Getting dt in SFML.Net 2.0
« Reply #2 on: March 30, 2012, 03:31:31 pm »
Aight, I see it. less intuitive but whatever.

 

anything