Different versions of the game expect different versions of Godot Engine. Make sure you are using the correct versions before you open the project in Godot Engine.
Game version | Godot Engine version |
---|---|
Development | 3.5.1 |
v1.1.2 |
3.5.1 |
v1.1.1 |
3.4.4 |
v1.1.0 |
3.4.4 |
v1.0.0 |
3.4.4 |
v1.0.0-jam |
3.4.4 |
If you are using game version 1.1.1
or below, these instructions will not be
accurate.
Godot Engine will allow you to overwrite exported files but it is recommended
to delete old exported files before you begin. This means all files in the
linux/
, mac/
, web/
, and windows/
directories in this directory except
for their .empty
files.
The .empty
files allow these directories to appear in Git if they otherwise
contain no files. All other files in these directories are ignored by Git.
Use the following steps to export the game from Godot Engine:
- Open the project in the correct version of Godot Engine.
- Wait for any assets to be reimported. (A progress bar may appear.)
- Make sure you have export templates and export tools (such as rcedit) set up in Godot Engine's settings.
- Select
Project > Export...
to open the 'Export' menu. - Select
Export All... > Release
to begin exporting the game. - Wait for the exporting process to finish. You may now close Godot Engine.
Builds of the game are distributed to itch.io using their command line tool, butler. Please see the documentation for more information.
If you have butler installed, you can update it from the command line by using the following command.
butler upgrade
The following butler commands are used from this directory to push builds to itch.io.
butler push --ignore=.empty --userversion-file=version.txt web ruxaroh/the-house-always-wins:web
butler push --ignore=.empty --userversion-file=version.txt windows ruxaroh/the-house-always-wins:windows
butler push --ignore=.empty --userversion-file=version.txt mac ruxaroh/the-house-always-wins:mac
butler push --ignore=.empty --userversion-file=version.txt linux ruxaroh/the-house-always-wins:linux
version.txt
holds the version that will be displayed on itch.io. It should be
written in UTF-8 without a byte order mark and avoid leading and trailing
whitespace.
Builds in .zip
files on the
GitHub releases page are ripped
from the itch.io game page by selecting Edit game
and selecting
More... > Download
on each release channel. Because of this, tags and
releases are published on GitHub after the game is available on itch.io.