2 ms·
Too fast on my Samsung A52s
by p0w3n3d 2y ago
Too fast on my Samsung A52s
- krackers 2y agoSeems this was fixed in https://github.com/VadimBoev/FlappyBird/commit/f57a3ec90078b74ac40a4331ecb71e65cc0e09f3 https://github.com/VadimBoev/FlappyBird/commit/f57a3ec90078b... by forcing the gameloop to be 60fps. It's a simple solution, but does mean that things are effectively capped at 60fps. The techniques in https://gafferongames.com/post/fix_your_timestep/ https://gafferongames.com/post/fix_your_timestep/ could be used to properly allow variable fps while maintaining constant physics speed.