Topic was automatically imported from the old Question2Answer platform.
Asked By
MathsOwl
Hey, guys! I am having trouble getting Godot to run my game above 30 FPS. I’ve tried all I can to get it running at a solid 60, from going to Project → Project Settings → Debug → Settings → Force FPS to using ProjectSettings.set(“debug/settings/fps/force_fps”, framerate) to using Engine.set_target_fps(value), but I cannot for the life of me, figure out a way to make it run smoothly without pure luck. Any help would be appreciated, thanks.
EDIT: The game is 2D as well.
Also btw, I have tried changing Force FPS to 0, but it still doesn’t run that great.
MathsOwl | 2022-09-26 08:19
What graphics card model do you have? What’s the window size you’re running your tests at?
from going to Project → Project Settings → Debug → Settings → Force FPS to using ProjectSettings.set(“debug/settings/fps/forcefps”, framerate) to using Engine.settarget_fps(value),
As mentioned in that property’s description, increasing Force FPS will not increase framerate if the hardware can’t keep up.
Note that on old integrated graphics, you may never be able to reach a stable 60 FPS in the first place, even in an empty scene. This is especially the case if running at native resolution – asking integrated graphics to render a scene in 1080p or more is asking a lot from it
Consider setting Display > Window > Size > Shrink to 2 or 3 to reduce the rendering resolution in 3.x. In 4.0, you can reduce Scaling 3d > Scale instead, which will only reduce the 3D rendering resolution, not the 2D rendering resolution. This is also feasible in 3.x but it requires more setup, as per the 3D scaling demo.