gravity_defied_cpp
gravity_defied_cpp copied to clipboard
make the game smoother by increasing the FPS
The game is currently running at only ~33 FPS, which is not sufficient for modern games. It would be great to increase the FPS and make it configurable, but there is a problem: the physics in the game is tied to the FPS, so if the FPS is simply increased, the game's time would flow faster, which is not acceptable. Therefore, before increasing the FPS, it would be necessary to untie the physics from it in some way.