mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-20 09:01:50 +00:00
Update cheatsheets
This commit is contained in:
29
godot
Normal file
29
godot
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# godot
|
||||
|
||||
> An open source 2D and 3D game engine.
|
||||
> More information: <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 export preset (the preset must be defined in the project):
|
||||
|
||||
`godot --export {{preset}} {{output_path}}`
|
||||
|
||||
- Execute a standalone GDScript file (the script must inherit from `SceneTree` or `MainLoop`):
|
||||
|
||||
`godot -s {{script.gd}}`
|
||||
Reference in New Issue
Block a user