Can I run my game at 10 fps but show 60 framerate.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By usurun

Wondering if it is possible to run the _process function at 10 fps, but show the game at a 60 framerate.

:bust_in_silhouette: Reply From: BraindeadBZH

You can set the physics FPS in the project settings but it would only affect _physics_process.

Yes, thanks, it works.

usurun | 2019-07-13 15:07

Please note that I have no idea what is the consequence of reducing the physics FPS to such a low number. You might experience artifacts regarding collisions and reactions.

BraindeadBZH | 2019-07-13 23:11

I am making a 2D game where the character moves one pixel per frame, so it would move 10 pixels per second, but the game is still running at 60 fps.

usurun | 2019-07-14 06:52