Reference to Game
Turn images, videos, sheets, sketches, models, audio, links or a written idea into a playable game—without losing its visual identity.
An input-agnostic skill and toolkit for coding agents. It gives Claude Code, Codex, Cursor and other agents a workflow for preserving style, colors, shapes, materials, camera, motion and UI, then turning that direction into real gameplay.

Reference → playable implementation. The four games below were developed from image, sheet and video references. Their source and runtime assets are included.
Install · Try a game · Use · Tools · Evidence · Scope
Why references matter
A prompt can describe “colorful” or “painterly” without specifying the decisions that make a particular game recognizable. References make those decisions concrete: the size of an accent color, a character's proportions, the softness of a shadow, the camera's distance, the way a UI panel feels like paper.
The challenge is carrying those decisions through implementation. A game can compile, run smoothly and have working mechanics while still looking unrelated to its reference. This workflow treats visual identity and playability as separate requirements. Neither can hide a failure in the other.
- Inspect before implementing. Assign authority separately for appearance, identity, mechanics, motion and UI. Preserve originals and distinguish observation from invention.
- Lock style before expanding scope. Build a small polished scene, compare it to the reference, and fix the largest mismatch before multiplying assets and levels.
- Choose the right representation. Painted sprites, 2.5D layers, procedural geometry, generated meshes and shaders can coexist. Full 3D is not automatically the most faithful choice.
- Build actual gameplay. Input, rules, state-driven UI, goals, recovery and restart. A screenshot or prerecorded showcase is not the implementation.
- Generate assets deliberately. Optional fal workflows for images, models, textures, animation studies, audio and music, with durable job IDs and duplicate-submission protection.
- Deliver inspectable evidence. Source-bound reviews, reference comparisons, rule tests, real input-driven playthroughs, measured performance and honest limitations.
Any reference, an appropriate workflow
| Starting point | What the agent does |
|---|
| One screenshot, painting or sketch | Extracts style and composition; authors missing mechanics explicitly |
| Gameplay video or animation | Inspects motion and events; separates camera movement from object movement and generated defects |
| Full asset sheet or mood board | Reads the whole design system, then identifies useful regions; no mandatory grid or scene count |
| A model or existing asset folder | Inspects geometry, material, scale, rigs and identity before integration |
| Music or audio | Uses sound as mood/timing evidence and designs the missing visual direction |
| A URL, PDF or design document | Opens it with the appropriate viewer/connector and records what was actually inspected |
| A text-only idea | Designs a coherent art direction and playable loop; labels the visual choices as authored |
| Mixed references | Resolves which source governs each dimension rather than averaging conflicting styles |
Input-agnostic does not mean universal automatic decoding. The CLI handles intake and common media inspection; specialized formats and inaccessible links need an appropriate tool. The coding agent performs visual judgment and implementation. Exact boundaries →
The default implementation profile is Three.js + TypeScript + Vite, with support for 2D, layered 2.5D and full 3D. The contracts are engine-neutral; other engines can follow the workflow, but this release does not ship verified project generators for them.
Four worked games
| Jetboat racing | Candy factory puzzle |
|---|
 |  |
| Jungle Jetboat Jump — 3D boat and crew, painted vegetation, procedural water; ordered gates, pickups, boost, jumps and recovery. | Jellyworks — tactile machinery and candy; deterministic conveyors, mixing, molds, backpressure, edit/run modes and three solvable puzzles. |