A small pixel-art platformer built with Phaser 3 and Vite. Run, jump, collect coins, and reach the flag.
npm i
npm run devOpen the URL printed by Vite (usually http://localhost:5173).
npm run buildThe static build is generated in dist/.
- The project already has a GitHub Actions workflow at
.github/workflows/pages.yml. - The workflow sets
BASE_PATHto/${{ github.event.repository.name }}/so asset paths work on Pages. - Push to
main, then enable Pages in your repo settings to serve from GitHub Actions.
If you rename the repo, update BASE_PATH or keep using the automatic workflow env.
- Run
npm run build. - Zip the contents of
dist/(not the folder itself). - Upload the zip as an HTML5 project on itch.io and mark it as playable in browser.
- Move: A/D or Arrow Keys
- Jump: W, Space, or Up Arrow
- Autoplay (testing): P
This codebase was generated in this session by an AI assistant. Prompts for generating pixel-art assets are in ASSETS_PROMPTS.md.