diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-06-08 19:33:10 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2023-07-28 02:51:27 +0200 |
commit | 4cab77094a0816900a7c06461cb1b9ffad679341 (patch) | |
tree | 681896a3f167b227c9a8aa5ea8edb414021e2555 /misc/dist/linux/godot.6 | |
parent | da81ca62a5f6d615516929896caa0b6b09ceccfc (diff) | |
download | redot-engine-4cab77094a0816900a7c06461cb1b9ffad679341.tar.gz |
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.
Diffstat (limited to 'misc/dist/linux/godot.6')
-rw-r--r-- | misc/dist/linux/godot.6 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/misc/dist/linux/godot.6 b/misc/dist/linux/godot.6 index 2481869d8a..a00a69299c 100644 --- a/misc/dist/linux/godot.6 +++ b/misc/dist/linux/godot.6 @@ -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). |