The Phaser starter
Marbles, a table of marbles you roll among: one Phaser scene with Arcade physics and textures drawn from shapes. Its zip: phaser.zip
The files
.claude/skills/playspace/SKILL.md(4,262 bytes)AGENTS.md(38,086 bytes)CLAUDE.md(38,086 bytes)LICENSE(1,066 bytes)THIRD_PARTY.md(392 bytes)index.html(10,893 bytes)playspace.json(778 bytes)vendor/LICENSE.md(1,100 bytes)vendor/phaser.min.js(1,375,976 bytes)
AGENTS.md and CLAUDE.md are the same file, the kit's guide.
What playspace.json wires
Its controls (the control manifest, version 3) tell Playspace which of the starter's own keys each control presses:
The stick (W A S D or the arrows) "Roll": presses
KeyW,KeyS,KeyA,KeyD, orArrowUp,ArrowDown,ArrowLeft,ArrowRightA (Space) "Kick": presses
SpaceB (Shift) "Grow": presses
ShiftLeftThe menu pill (Esc) "Help": presses
EscapeThe pointer:
"mouse"(a finger is the mouse, a tap the click); the click's word "Drop"
The library
Phaser 4.2.1, vendored in vendor/phaser.min.js, under the licence in vendor/LICENSE.md. Write for this version's API, not a newer or older one; THIRD_PARTY.md names it.
The engine's recipe
The cookbook's section "2.4 Phaser 3", in cookbook.md. The recipe was written on Phaser 3 works; the starter is Phaser 4.2.1, so write for its API and take the recipe for how the input is wired.
The reading order
AGENTS.mdin the zip, whole (the same file as AGENTS.md on the site).Without the zip only: start.md, then controller.md (
AGENTS.mdalready holds both).index.htmlandplayspace.json: the starter's code follows the guide.The engine's recipe above, and autoplay.md and analytics.md where the work needs them.
publishing.md when the work is ready; contract.md whenever a name is unclear.
The same text, plain, for an agent: /sdk/kit/phaser.md