Skip to content
Vibecode.game Logo Vibecode.game

Local Co-op in an Afternoon: Cursor + Phaser 3

Shared keyboard, simple physics, and a finish line you can hit before dinner.

Y

YGG Play

1 min read
Local Co-op in an Afternoon: Cursor + Phaser 3

Local co-op avoids networking complexity while still teaching input routing, collision layers, and game feel. Phaser 3 gives you scenes, arcade physics, and sprite plumbing—Cursor helps you avoid boilerplate traps if you describe inputs and win rules crisply.

Afternoon schedule

BlockFocus
:00–:45Scene boot, two sprites, tilemap or bounds
:45–1:30Controls (WASD + arrows), collisions, score
1:30–2:30Juice: screenshake lite, sfx hooks, pause
2:30–3:00Build + static deploy smoke test

Input map

Explicitly bind separate key sets. On gamepad day two, you will thank yourself for clean abstraction (p1, p2 objects).

Physics honesty

Start arcade; swap to matter only if puzzles need it. AI often over-engineers physics—reject that diff.

Deploy

Phaser bundles cleanly with Vite. Ensure asset paths work from / and from nested routes if your host uses subpaths.

FAQ

Controllers? Defer unless afternoon scope creeps—keyboard proves the loop.

Online later? Finish hot-seat first; read our multiplayer Cursor guide.

Next steps


YGG Play celebrates small slices that ship.

Follow along

Stay in the loop — new articles, thoughts, and updates.