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

Author Topic: Is it necessary to use delta time if I capped the frame rate?  (Read 1173 times)

0 Members and 1 Guest are viewing this topic.

Nero

  • Newbie
  • *
  • Posts: 12
    • View Profile
    • Email
Is it necessary to use delta time if I capped the frame rate? How exactly does the frame rate function work?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Is it necessary to use delta time if I capped the frame rate?
« Reply #1 on: May 13, 2018, 04:35:18 pm »
You should do it regardless. Timers aren't always precise. VSync can be forced off. It's not exactly a hassle to add it, as such there's no real reason not to do so.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything