snippetbashTip
godot — An open source 2D and 3D game engine. More information: <https://docs.godotengine.org/en/stable/tuto
Viewed 0 times
commandenginesourceandcliopengamegodot
Problem
How to use the
godot command: An open source 2D and 3D game engine. More information: <https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html>.Solution
godot — An open source 2D and 3D game engine. More information: <https://docs.godotengine.org/en/stable/tutorials/editor/command_line_tutorial.html>.Run a project if the current directory contains a
project.godot file, otherwise open the project manager:godotEdit a project (the current directory must contain a
project.godot file):godot {{[-e|--editor]}}Open the project manager even if the current directory contains a
project.godot file:godot {{[-p|--project-manager]}}Export a project for release using a given export preset (the preset must be defined in the project):
godot --export-release {{preset}} {{output_path}}Execute a standalone GDScript file (the script must inherit from
SceneTree or MainLoop):godot {{[-s|--script]}} {{script.gd}}Code Snippets
Run a project if the current directory contains a `project.godot` file, otherwise open the project manager
godotEdit a project (the current directory must contain a `project.godot` file)
godot {{[-e|--editor]}}Open the project manager even if the current directory contains a `project.godot` file
godot {{[-p|--project-manager]}}Export a project for release using a given export preset (the preset must be defined in the project)
godot --export-release {{preset}} {{output_path}}Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`)
godot {{[-s|--script]}} {{script.gd}}Context
tldr-pages: common/godot
Revisions (0)
No revisions yet.