From 5311e1d469c48a7ca9a6fce575136badedbee1c7 Mon Sep 17 00:00:00 2001 From: blinry Date: Tue, 10 Nov 2020 23:40:16 +0100 Subject: [PATCH] Explain how to open the project in the Godot editor and how to build binaries Closes #4. --- Makefile | 6 +++--- README.md | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6f7fc81..deb9469 100644 --- a/Makefile +++ b/Makefile @@ -4,16 +4,16 @@ all: linux macos windows linux: mkdir -p build/$(name)-linux - \godot --export "Linux" "build/$(name)-linux/$(name)" + godot --export "Linux" "build/$(name)-linux/$(name)" cd build/$(name)-linux && zip -r ../$(name)-linux.zip . macos: mkdir -p build - \godot --export "Mac OS" "build/$(name)-macos.zip" + godot --export "Mac OS" "build/$(name)-macos.zip" windows: dependencies/windows/git/ mkdir -p build/$(name)-windows - \godot --export "Windows" "build/$(name)-windows/$(name).exe" + godot --export "Windows" "build/$(name)-windows/$(name).exe" cp -r --parents dependencies/windows/git/ build/$(name)-windows/ cd build/$(name)-windows && zip -r ../$(name)-windows.zip . diff --git a/README.md b/README.md index a67c5da..c0897cc 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,14 @@ A level can consist of multiple repositories. To have more than one, you can use At this stage, we're still exploring ourselves which kind of levels would be fun! So feel free to try new things: basic introductions with a little story? Really hard puzzles? Levels where you have to find information? Levels where you need to fix a problem? Levels with three remotes? -## Contributing code +## Contribute code! + +To open the game in the [Godot editor](https://godotengine.org), run `godot project.godot`. You can then run the game using *F5*. Feel free to make improvements to the code and send pull requests! There is one exception: because merge conflicts in Godot's scene files tends to be hard to resolve, before working on an existing *\*.tscn* file, please get in touch with us. +To build your own binaries, you'll need Godot's [export templates](https://docs.godotengine.org/en/stable/getting_started/workflow/export/exporting_projects.html), and `zip`, `wget`, and `7z`. Then, run `make`. On Debian/Ubuntu, the Godot binary is called `godot3`, you might need to adjust the paths in the Makefile. + ## Code of Conduct We have a [Code of Conduct](CODE_OF_CONDUCT.md) in place that applies to all project contributions, including issues and pull requests.