To develop on the game, run line test html5
- Preconfigured libraries
- FMOD Studio project with menu sound effects and a random song I wrote
- Ready to use Bitlytics tie-ins
- Various utility libraries
- Basic state templates
- Main menu with buttons to load the credits or start the game
- Controller, keyboard, or mouse support for menu navigation
- Credits state with built-in scrolling
- Main menu with buttons to load the credits or start the game
- Preconfigured .gitignore
- Github build actions
- Dev builds on push to master
- Production builds on releases
- Set the proper Github secrets:
BUTLER_API_KEY
: The Butler API key from itch.ioANALYTICS_TOKEN
: The InfluxDB access token to the bucket
- Fill out the
assets/data/config.json
fieldsanalytics.name
: The simplified game name, used as the metrics id and some other things. Should be snake case or similar.analytics.influx.bucket
: The bucket ID from InfluxDB
- Fill in the
itchGameName
in both workflow files- This should be the URL name from itch.io
- Holding
M
as the game starts will allow playing the release game without sending metrics. This is indicated as a log on startup
haxelib.deps
- Contains all dependencies needed by the project other than haxe itself- It supports two dep styles
- standard haxelib dependencies
- Formatted as:
<libName> <libVersion>
- Formatted as:
- git dependencies
- Formatted as:
<libName> git <gitRepoLocation> <OPTIONAL: gitBranchOrTag>
- Formatted as:
- standard haxelib dependencies
- It supports two dep styles
init.sh
- Script that readshaxelib.deps
file and configureshaxelib
- This script will need to be run any time the dependencies change
- This script is run by the github actions as part of the build so local and github builds are equivalent
- This projects uses the haxe-formatter package for formatting using default settings
format.sh
is a convenience script will perform the formatting