What is the role of fixed_fps in main.cpp?

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

Can anyone explain that?

:bust_in_silhouette: Reply From: Dlean Jeans

So you can run the Godot Engine or your Windows game at different rate from the command line (cmd.exe):

I dunno why but

This runs twice as fast:

MyGame.exe --fixed-fps 30

while this runs at half the normal speed:

MyGame.exe --fixed-fps 120

Related thread:
https://forum.godotengine.org/31913/how-to-simulate-the-game-at-maximum-speed

thanks very much!

coolan2013 | 2019-03-04 06:36