# Chase Runner: A 3D Chase Runner from a Brief

> Write five lines (setting, hero, chaser, goal, mood) and get a playable 3D chase runner in one offline HTML file. Sprint three lanes toward a goal while a giant creature closes in, jumping, dodging and sliding past obstacles against the clock; a rigged hero, the chaser, obstacles, the sky, the voice and the music are generated through SandBase. The lanes, route patterns, HUD and effects are code.

- Type: Lab Skill (downloadable Agent Skill)
- Category: [Game creation](https://www.sandbase.ai/skills/games)
- Version: 0.1.1
- Runs online: yes
- Page: https://www.sandbase.ai/skills/games/chase-runner

## What you get

Bring a setting, a hero, a chaser, a goal and a mood; optionally the palette, landmark and music. The Skill returns a downloadable Skill (the runner engine, a budgeted 3D asset generator with rigging, verification) and one playable example with its generated media and billed cost.

## Install

Download the Skill package from https://www.sandbase.ai/skills/games/chase-runner (sign-in required), unzip it into your agent's skills folder, then ask your agent to use it:

```text
/chase-runner build a 3D chase runner in <your setting>, where <your hero> flees <your chaser> to <your goal>, in a <your mood> mood
```

## How it works

1. **Fill the slots** Describe the setting, the hero, the chaser, the goal and the mood, for example an autumn highland trail at golden hour, a young beekeeper, a giant mossy boar, a stone windmill on the highest hill, folk fiddles. The agent turns the brief into a theme.
2. **Plan and generate the media** npm run assets prints every SandBase call with its worst-case estimate and refuses a plan over the budget, without spending. With --confirm-real it makes the calls through your logged-in sandbase CLI or SANDBASE_API_KEY, saves each run id at once so --recover can download finished runs without paying again, and compresses the rigged hero and the chaser. The example made 35 calls and billed a few US dollars.
3. **Build and verify** THEME=<id> npm run build:single inlines Three.js, the run, the rigged hero, the chaser, the obstacles, the sky and every sound into one file that makes no network requests. npm run shoot runs the scene-verify checks, from the title and a jump to a catch and a win. The example passed 34 of 34 checks.

## FAQ

### Does Chase Runner call a model or need a key?

Only when a new theme is generated. The asset step calls SandBase models for the rigged hero, the chaser, the obstacles, the sky, the voice and the music, through your own SandBase login, and the scripts never read, print or store the key. Once built, the run page itself makes no network requests and calls no model. Nothing is billed without --confirm-real.

### How is Chase Runner usage billed?

Chase Runner’s asset step calls SandBase models for the models, sky, voice and music, billed to your SandBase account. You see the plan and its worst-case prices before a single call, over-budget plans are refused, and nothing bills until --confirm-real. See live prices with sandbase inspect.

### Why does the chase run inside a frame?

The run is served from an opaque origin with no network, so it cannot read this page or go online — what you play is the verified build.

### Is the route the same every run?

Each route is seeded: 18 obstacle patterns unlock as speed grows, and the same seed gives the same route. Time tokens and hearts change how a run plays out.

### Can I use my own models in Chase Runner?

Yes. Put your own hero and chaser GLB files in the theme’s media folder, skip generating those parts, and record their source and licence in CREDITS.json.

### Can I generate a new chase here?

Not yet. Making a theme calls SandBase models and the sandbox has no key for that today; run the Skill locally with your own agent.

## Examples

- Chase Runner playable run (scene)
- Highland Dash (video)
