1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-22 01:04:02 +02:00
tldr/pages/common/godot.md
Managor 99c7af4917
*: use a more specific more info link, org domain (#17699)
Mass update for more specific "more info" links
2025-08-16 11:12:49 -07:00

803 B

godot

An open source 2D and 3D game engine. More information: https://docs.godotengine.org/en/latest/tutorials/editor/command_line_tutorial.html.

  • 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|--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}}