A simple clicker game built with HaxeFlixel, featuring a stylish GUI and Android support.
- Haxe 4.3.4
- HaxeFlixel (
haxelib install flixel
) - Lime (
haxelib install lime
) - OpenFL (
haxelib install openfl
) - Android SDK (for Android builds)
- Clone the repository:
git clone https://github.com/yourusername/clicker-game.git cd clicker-game
- Install dependencies:
haxelib install flixel haxelib install lime haxelib install openfl
- For Android, set up the Android SDK:
haxelib run lime setup android
- HTML5:
haxe -main Main -cp source -lib flixel -js bin/html5/ClickerGame.js
- Android:
haxe -main Main -cp source -lib flixel -android -D android -D lime_native bin/android/ClickerGame.apk
The .github/workflows/build.yml
file automates building for HTML5 and Android on push to the main
branch. Artifacts are uploaded to GitHub Actions.
- Replace
assets/icon.png
with a 512x512 PNG for Android. - Customize the GUI by modifying colors and fonts in
MenuState.hx
andPlayState.hx
.