coccoon · create

Load a cartridge

← Menu

Write a cartridge exactly like the built-in demos: import from @/lib/coccoon (and @/lib/micromoth) and export a class that implements Game with ready(engine) and process(delta, engine). Reading a demo's source teaches you everything you need here. To vibe-code a game, hand an LLM the starter kit.

Starters
LLM reference
Upload PNGs or WAVs, then reference them by filename: asset("hero.png")
PreviewStopped

Press Run to compile and start your cartridge. Click the canvas to give it focus, then use the arrow keys / WASD, IJKL, or a gamepad.

Console

No output yet.