# Rainmaker: A 3D Flying Game That Rains Islands Back to Life

> Write six lines (the sky sea, the islands, the little cloud, what brings the islands back, the threat, the finale) and get a 3D flying game in one offline HTML file. Guide a small rain cloud over a sea of clouds, rain over the grey islands until grass, trees and flowers return, and dive into the cloud sea to refill when the cloud runs dry. A storm front closes in as the day shortens; when every island is green the finale tree bursts into full canopy. The islands, trees, finale tree, painted sky, cloud cards, ground textures, both music tracks and twelve sounds are generated through SandBase; the cloud, the flocking, the level plan and the rules are code.

- 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/rainmaker

## What you get

Bring a sky world, its islands, a rain bringer, what comes back to life, the threat and the finale; optionally a mood. Write them in English or Chinese. The Skill returns a downloadable Skill (the flight engine, a budgeted SandBase asset generator, a level planner that places islands and plans a route, verification) and one playable example with its generated media and billed cost.

## Install

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

```text
/rainmaker make a game where <your rain bringer> flies over <your sky world> and rains <your dead islands> back to life, in a <your mood> mood
```

## How it works

1. **Write the brief** Tell your Agent the sky world, the little rain cloud you play, the islands that need rain and what returns when they revive, the storm and the finale tree. On your machine with Node 22.14.0 the Agent runs node scripts/new-project.mjs --out my-rain --theme <id> and npm ci, then fills themes/<id>/theme.json. A Chinese brief gives a Chinese game.
2. **Generate the world and plan the level** npm run assets prints every SandBase call and its worst-case price and spends nothing until you add --confirm-real: a Claude spec with every name and subtitle, a gpt-image sky panorama and cloud sheets, ground textures, Tripo islands, trees and the great finale tree, two Lyria tracks and twelve ElevenLabs sounds. The planner then places the five islands — the largest last in the middle — and the dive route back to the cloud sea, and checks a bot can reach each one.
3. **Fly, rain and dive** Hold the rain button and the ground under the cloud greens and spreads on its own: grass, flowers, young trees, streams and thin waterfalls come back. The cloud shrinks as it rains; dive into the sea of clouds to fill it again. Each revived island sends up a flock of birds. Revive all five and the great tree on the middle island opens under a rainbow and an end card shows.

## FAQ

### Which SandBase models does Rainmaker use?

Claude Sonnet writes the spec (title, names, subtitles, palette and the prompts for everything else); gpt-image makes the sky panorama, cloud sheets, ground textures and reference images; Tripo turns those into the islands, trees and the finale tree; Lyria writes two music tracks and ElevenLabs twelve sounds. Every call is listed with its billed amount in the theme’s CREDITS.json. The built file calls nothing at runtime.

### What if a generated island has no room or the route fails?

The planner retries with the islands re-rolled and notes it; if a placement still leaves no room, or a route cannot be proven, processing stops with the reason. Moving or rescaling an island in theme.json is free; otherwise the Agent regenerates only that model.

### Does Rainmaker need the dive to win?

Yes — rain is limited. The cloud shrinks as it rains, and the dive into the cloud sea is the only way to refill it. The planner places the islands so a bot can finish with dives in between, so a human can too.

### Which languages does the game have?

The interface is in English and Simplified Chinese. The spec writes the names and subtitles in the language of the brief, so the cloudsea example plays in English. The game has music and sounds but no voice acting.

### Why is the demo sandboxed?

The frame has an opaque origin and no network access, so the scene can’t read anything from this page or reach the internet.

### Can I play Rainmaker on a phone?

Yes. A stick on the left flies the cloud, dragging on the right turns the camera, and two buttons rain and dive. The headless check drives these controls at 390×844 under touch emulation; it has not been tested on real devices. The file is about 18 MB and needs WebGL 2 and WebAssembly.

### Why is there no online generation?

Building a new scene needs a model key inside the sandbox, which the backend doesn’t support yet. Run the Skill with your own agent for now.

## Examples

- Rainmaker playable rain cloud (scene)
- Rainmaker (video)
