godot
An open source 2D and 3D game engine. More information: https://godotengine.org/.
-
Run a project if the current directory contains a
project.godot
file, otherwise open the project manager:
godot
-
Edit a project (the current directory must contain a
project.godot
file):
godot -e
-
Open the project manager even if the current directory contains a
project.godot
file:
godot -p
-
Export a project for a given export preset (the preset must be defined in the project):
godot --export {{preset}} {{output_path}}
-
Execute a standalone GDScript file (the script must inherit from
SceneTree
orMainLoop
):
godot -s {{script.gd}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.