bitDecayGames / haxeflixel-template

Basic game template with FMOD and Bitlytics tie-ins ready to build from
3 stars 1 forks source link

Template Project for HaxeFlixel games

Debugging

To develop on the game, run lime test html5

Template features:

Template Configuration (on repo creation)

  1. Set the proper Github secrets:
    • BUTLER_API_KEY: The Butler API key from itch.io
      • API keys can be generated from itch.io -> Settings -> API Keys -> Generate new API key
      • If using this template for non Bit Decay games, the workflow files to use the correct itchUserName
    • ANALYTICS_TOKEN: The InfluxDB access token from influxdata.com
      • API token can be generated from influxdata.com -> Load Data -> API Tokens -> Generate API Token
  2. Run the ./bin/setup_repo.sh script to update github workflow files and project configuration json

User Configuration (new contributor setup)

  1. ./bin/setup_hooks.sh - Run to copy git hooks over
  2. ./bin/init_deps.sh - Run to get dependencies at the proper versions. See haxelib.deps for more info.

Metrics & Analytics

Dependencies

haxelib.deps

Aseprite

All Aseprite files within the art/ directory are automatically exported as Atlases as part of a pre-commit hook. The details of this process can be found in the pre-commit hook file, as well as the AsepritePacker tool code.

There is an accompanying set of code in the source/loaders/ directory to aid with loading these files into game objects that allow frames and durations to be driven entirely via the Aseprite files.

Maintenance

Formatting