SFML community forums

Help => General => Topic started by: Putarda on May 21, 2017, 10:15:01 am

Title: How to make game logic independent of fps? [SOLVED]
Post by: Putarda on May 21, 2017, 10:15:01 am
In my game engine, the whole logic and draw is repeating in while loop. The problem is, if someone has big fps, his game logic will go faster than someone who has small fps. How can I make my game logic independent of fps? Thanks :).
Title: Re: How to make game logic independent of fps?
Post by: sjaustirni on May 21, 2017, 03:15:30 pm
Famous article about this topic: http://www.koonsolo.com/news/dewitters-gameloop/
Title: Re: How to make game logic independent of fps? [SOLVED]
Post by: Putarda on May 21, 2017, 03:58:51 pm
Thanks!