0 votes

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/forcefps", framerate) to using Engine.settarget_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.

Godot version 3.4.0
in Engine by (19 points)

Also btw, I have tried changing Force FPS to 0, but it still doesn't run that great.

What graphics card model do you have? What's the window size you're running your tests at?

1 Answer

+1 vote

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.

You need to find and fix performance bottlenecks in your project instead: https://docs.godotengine.org/en/stable/tutorials/performance/index.html

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.

by (12,649 points)

Okay, thanks. I’ll try it out.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.