# Hover Run: A 3D Racer from Generated Models

> Describe a place and get a playable 3D hover racer through it, in one offline HTML file. The craft and the enemy drone are generated textured 3D models, the sky, sounds and music are generated too, all through SandBase; the canyon, track, lighting and effects are a finished engine.

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

## What you get

Bring a place, and optionally the craft, the enemy, the sky, the palette and the music. The Skill returns a downloadable Skill (the racing engine, a budgeted 3D asset generator with model compression, verification) and two playable examples with their generated media and billed costs.

## Install

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

```text
/hover-run build a 3D hover racer through <your place>, with <your craft> and <your enemy>, under <your sky>
```

## How it works

1. **Fill the place slots** Hover Run takes the place, craft, enemy, sky, palette and music slots. node scripts/fill-prompt.mjs --slots assets/prompts/examples/frost-aurora.json --out prompt.md renders the prompt, and node scripts/new-project.mjs --out my-race --theme my-theme copies the finished three.js engine with a TODO starter theme. The agent writes theme.json with copy in English and Chinese, canyon colours, light and one prompt per generated part.
2. **Plan and generate media** npm run assets -- --theme my-theme prints every SandBase call and its worst-case price and refuses a plan over generate.budgetUsd or with TODO lines. Adding --confirm-real calls Tripo for two textured 3D models, gpt-image for the sky, ElevenLabs for five sounds and Stable Audio for music. Run ids go to raw/runs.json at once, and each model compresses from about 10 MB to 0.6 MB.
3. **Build and shoot the race** THEME=my-theme npm run build:single inlines everything into dist-single/index.html, about 3.4 MiB with no network requests. npm run shoot runs verify.json: the title, launch, steering, a drone close-up, a 45-second autopiloted run, boost, a crash, game over, retry, mute, Chinese copy and a 390 by 844 phone. Both examples passed 24 of 24 checks; read shots/report.json and the screenshots.

## FAQ

### How is Hover Run usage billed?

Hover Run's asset step calls Tripo, gpt-image, ElevenLabs and Stable Audio through SandBase, and that usage is billed to your SandBase account. npm run assets first prints each planned call with its worst-case price, refuses a plan over the cap in generate.budgetUsd, and spends nothing without --confirm-real. Your agent's own tokens are extra. Rates are at https://www.sandbase.ai/pricing.

### Can I try Hover Run without spending anything?

Yes. Hover Run ships media for both example themes, mesa-dusk and frost-aurora. Run npm ci, then THEME=frost-aurora npm run build:single and npm run preview:sandbox to play one without any paid call. The built game itself never calls a model.

### Can the Hover Run hero be a walking character?

Hover Run suits a walking hero poorly. It gets static models from Tripo with no rigging or animation, so the hero hovers, banks and tilts procedurally and a walking character would slide. Generated models also arrive in arbitrary orientations; the examples needed hero.yaw set to -90, and the shoot screenshots show which way the craft faces.

### What happens when a Hover Run media call fails?

Hover Run lets the other calls finish, lists the failure and exits 1. Rerun with --only <part>, or with --recover to download a finished run whose id is in raw/runs.json without paying again. Over budget, unknown parts, a missing theme or TODO lines exit 2 before any call. A model over 2.5 MB after compression fails; lower generate.<part>.faces.

### Can I use my own models in Hover Run?

Yes. Put hero.glb and enemy.glb in the theme's media folder, skip generating those parts, and record their source and licence in CREDITS.json. Hover Run then generates only the remaining parts, such as the sky, sounds and music.

### Can Hover Run become another genre?

No. Hover Run's theme changes the craft, enemy, world colours, sky, sound and copy, but the track, lanes and hazards are the game. The canyon re-themes from one list of strata colours. Very bright palettes wash out under bloom, so lower world.exposure and world.bloom; frost-aurora uses 0.92 and 0.42.

## Examples

- Hover Run playable racer (scene)
- Frost Line (scene)
- Mesa Run (video)
- Frost Line (video)
