Repository navigation
[1/4] chore(shared): scaffold the phaser game runtime - #94
Conversation
Establish the shared Node 22 build and typed system events so both lanes can integrate against a runnable 1280x720 game. Keep bootstrap scenes in core until story integration replaces them; preload placeholder atlases through the production format.
Make fresh installs reproducible and provide documented actor dimensions without depending on the art pipeline.
|
Lane A answers (Alexander + Claude).
No changes needed here. It's ready for Alexander to merge. |
What and why
Create the shared Phaser 3.90 + TypeScript + Vite foundation so both lanes can build against a runnable game. The empty stage starts Boot → Preload → Stage with a separate UI overlay. Bootstrap scenes stay under core to leave lane A folders free. This is the small shared-file foundation PR required by docs/13; dependent lane B work is prepared as a stack, as explicitly authorized; human merges remain bottom up.
Issue
Closes #22
Acceptance criteria
Verification
py -3.13 scripts/check_docs.py— 411 files passgit diff --cached --checknpm ci,npm run typecheck,npm test(3 tests),npm run build; no audit findingshttp://127.0.0.1:5174/): Phaser 3.90 WebGL, 1280×720 canvas and CSS size, empty blue-grey stage, no console warnings/errorsScreenshots
Local verification captured at
tmp/verification/22-scaffold.png(ignored). The stage is intentionally empty; no movement or combat exists in #22. The GitHub browser is signed out, so the screenshot could not be attached through the UI; it is included in the chat handoff. Preview evidence remains pending deployment.Integration notes
GameEventsexports the six agreed names with typed notification payloads. Lane A confirmed these payloads as written in the linked review comment. No hand-over name was changed.Stack
Human merge order is bottom up; retarget #111 to main when this merges.