mirror of https://github.com/CrimsonTome/tldr.git
25 lines
581 B
Markdown
25 lines
581 B
Markdown
# godot
|
|
|
|
> An open source 2D and 3D game engine.
|
|
> Homepage: <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 target (the target must be defined in the project):
|
|
|
|
`godot --export {{target}}`
|
|
|
|
- Execute a standalone GDScript file:
|
|
|
|
`godot -s {{script.gd}}`
|