From bf5491b2eebee4e37f24cf090bbaa720285d3bfb Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Thu, 12 Jul 2018 19:48:27 +0200 Subject: [PATCH] godot: add page (#2183) --- pages/common/godot.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 pages/common/godot.md diff --git a/pages/common/godot.md b/pages/common/godot.md new file mode 100644 index 0000000000..852ac2ab38 --- /dev/null +++ b/pages/common/godot.md @@ -0,0 +1,23 @@ +# godot + +> An open source 2D and 3D game engine. + +- 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}}`