1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-06 04:15:23 +02:00
tldr/pages/common/godot.md

25 lines
745 B
Markdown
Raw Normal View History

2018-07-12 19:48:27 +02:00
# godot
> An open source 2D and 3D game engine.
> More information: <https://godotengine.org/>.
2018-07-12 19:48:27 +02:00
- 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]}}`
2018-07-12 19:48:27 +02:00
- Open the project manager even if the current directory contains a `project.godot` file:
`godot {{[-p|--project-manager]}}`
2018-07-12 19:48:27 +02:00
- Export a project for release using a given export preset (the preset must be defined in the project):
2018-07-12 19:48:27 +02:00
`godot --export-release {{preset}} {{output_path}}`
2018-07-12 19:48:27 +02:00
- Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`):
2018-07-12 19:48:27 +02:00
`godot {{[-s|--script]}} {{script.gd}}`