saltmoth runner

AI browser game template · a prompt for Claude, Codex and Cursor

pro

Get the prompt, project and Figma file with monthly ($29 a month) or yearly ($249 a year). Plus tax where it applies.

SALTMOTH Runner opens on black with "Run" in blackletter and a choice: play with sound or without. Then the lantern-headed keeper from SALTMOTH runs side-on through eight rooms, all modelled in 3D, while a wall of spikes closes in from the left: The Hall of living portraits ("Do not look at them."), The Cellar with tar that splashes on the lens, The Attic in a gale, The Painting, a flat painted world inside a gilt frame, The Red Choir of singing ribs, The Missing Ward in white, The Drowned Organ and The Black Orrery under a watching sky. Jump the gaps and the obstacles with Space, W, Arrow Up or a click or tap, catch moths to feed the lamp, and reach the window at the end of each room. Every course is generated fresh, with its own obstacle models, floor materials and wall art per room. A fall leaves "One fall left" and the wall closes in; two falls restart the run. A room picker reaches any of the eight rooms directly, with a falls counter, a sound switch and "Next room" beside it, a progress line under the hint and a wick at the bottom. The last room ends at "The Window" with "Run again". Everything is modelled, textured and lit in code (no images), rendered through a film pass with bloom, depth of field, grain, scratches, dust and flicker, with adaptive quality. All sound is the project's own Web Audio: a low drone, rain and surf, a 54 BPM heartbeat, a running bass line, and every effect from the jump's thud to the spikes. Plays with keyboard, mouse or touch.

what you get

prompt
Paste it into Claude, Codex, Kimi or Cursor to rebuild this template. Tested: we rebuild every template from its prompt before it goes live.
project
The Vite + React source code as a .zip, ready to run.
figma file
The editable design as a .fig file to import into Figma.

what's inside

  • start screen
  • 3d scene
  • game loop
  • level select
  • webgl shader
  • film grain
  • text reveal
  • particles
  • web audio
  • sound toggle
  • keyboard control
  • touch support

stack

  • react
  • vite
  • typescript
  • three
  • webgl
  • canvas
  • web audio

fonts

UnifrakturCook, Special Elite, Reenie Beanie

Free fonts, linked in the prompt.

colors

  • #040505
  • #D8D1BD
  • #D9A441
  • #A8391F
  • #E3D9C1

license

With monthly or yearly: personal and commercial work, client projects included. Don't resell or share the template, prompt or files.

read the license