mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add a --max-fps command-line argument to set a FPS limit
This allows limiting framerate on any project, which is useful to reduce power usage and latency with certain setups (such as VRR displays). This is particularly useful in projects that do not expose a setting to change the FPS limit. While external FPS limiters can be used, they can be cumbersome to set up and result in increased input lag compared to a built-in FPS limiter.
This commit is contained in:
5
misc/dist/linux/godot.6
vendored
5
misc/dist/linux/godot.6
vendored
@@ -105,8 +105,11 @@ Show collisions shapes when running the scene.
|
||||
\fB\-\-debug\-navigation\fR
|
||||
Show navigation polygons when running the scene.
|
||||
.TP
|
||||
\fB\-\-max\-fps\fR <fps>
|
||||
Set a maximum number of frames per second rendered (can be used to limit power usage). A value of 0 results in unlimited framerate.
|
||||
.TP
|
||||
\fB\-\-frame\-delay\fR <ms>
|
||||
Simulate high CPU load (delay each frame by <ms> milliseconds).
|
||||
Simulate high CPU load (delay each frame by <ms> milliseconds). Do not use as a FPS limiter; use --max-fps instead.
|
||||
.TP
|
||||
\fB\-\-time\-scale\fR <scale>
|
||||
Force time scale (higher values are faster, 1.0 is normal speed).
|
||||
|
||||
Reference in New Issue
Block a user