FR

double baston

par matSchluthfeld · Remakes
pas encore noté
▶ Jouer 💬 Avis Sources 🕘 Versions Éditer GitHub
games/double-baston / AGENTS.md · commit c92e3fb
# double-baston — notes for agentsThis game is built with JumPHP. **Read `../../AGENTS.md` first** (rules, commands, API).## Checklist```bashbin/jumphp test double-baston                 # lint + phpstan + headless smoke test (must pass)bin/jumphp shot double-baston 60              # title screen -> games/double-baston/var/screenshots/shot.pngJUMPHP_INPUT='[[5,"confirm"]]' bin/jumphp shot double-baston 240 var/screenshots/play.pngbin/jumphp build double-baston && bin/jumphp webshot double-baston 6 '[[1,"Enter"]]'   # browser (needs bin/jumphp engine:build)```## This gameStarted from the JumPHP skeleton (a small platformer). Update this section as the game grows:- **What it is**: ...- **Scenes**: `TitleScene` (menu) → `PlayScene` (level) ; overlays `PauseScene` ; `OptionsScene` (pushed).- **Entities**: `Player` (Sprite + Gravity + TileCollision), `Coin`.- **Controls** (`config/input.yaml`): arrows / WASD move, Space jumps, Escape pauses.- **Smoke test** (`config/game.yaml` smoke): `PlayScene` with `demo: true` (a bot runs and jumps).- **Non-obvious**: the tileset is drawn with GD in `PlayScene::makeTileset()`; replace it with a PNG  (`assets/tiles/`) or a Tiled map (`TiledJsonLoader`).