Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
How to make game logic independent of fps? [SOLVED]
Print
Pages: [
1
]
Author
Topic: How to make game logic independent of fps? [SOLVED] (Read 2255 times)
0 Members and 1 Guest are viewing this topic.
Putarda
Jr. Member
Posts: 56
How to make game logic independent of fps? [SOLVED]
«
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
.
«
Last Edit: May 21, 2017, 03:58:44 pm by Putarda
»
Logged
sjaustirni
Jr. Member
Posts: 94
Re: How to make game logic independent of fps?
«
Reply #1 on:
May 21, 2017, 03:15:30 pm »
Famous article about this topic:
http://www.koonsolo.com/news/dewitters-gameloop/
Logged
Putarda
Jr. Member
Posts: 56
Re: How to make game logic independent of fps? [SOLVED]
«
Reply #2 on:
May 21, 2017, 03:58:51 pm »
Thanks!
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
How to make game logic independent of fps? [SOLVED]
anything