Mario-style side-scrolling game for Codex pets created with $hatch-pet.
python3 -m http.server 4173Open http://127.0.0.1:4173/.
This is a static app. Publish the repository with GitHub Pages using the main branch and / (root) source.
After publishing, open the Pages URL and play directly in the browser.
- Play as generated Codex pets from
assets/pets/*/spritesheet.webp. - Import local Codex pets by selecting
~/.codex/petsin the browser. Imported pets are stored in IndexedDB for that browser. - Built-in community stages with author names.
- Stage editor with paint tools for ground, blocks, spikes, coins, start, and goal.
- Export and import stage codes for sharing user-created stages.
- Per-stage local leaderboard with clear time and selected pet.
Browsers cannot read ~/.codex/pets automatically from GitHub Pages. Use the Import ~/.codex/pets button and choose the folder manually.
A/Dor arrow keys: moveW/Space: jumpR: restart- The timer starts only after the first move or jump input.
- On phones and tablets, use the on-screen controller: left/right pad, Jump, and restart.
- In editor mode,
A/Dor arrow keys scroll the canvas horizontally. - In editor mode on touch devices, use the on-screen left and right buttons to scroll the canvas horizontally, and paint directly on the canvas.