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