Dragon Rescue: A 3D Flying Rescue Game from a Brief
- Lab Skill
- v0.2.5
- Game creation
Describe a flying hero, a sky to cross and who needs saving, and your Agent builds a 3D flight-and-rescue game in one offline HTML file. In the main example, Ember the baby dragon ferries three islanders one at a time from floating islands to the rescue camp, slowing down to land and riding golden updrafts to refill energy. The dragon, the passenger, the camp, the music and the sound effects are generated through SandBase; the islands, the flight model and the lighting are code.
ตัวอย่าง · 2

ทำงานในเฟรมแบบ sandbox ที่ไม่มีสิทธิ์เข้าถึงหน้านี้
รันออนไลน์
รันใน SandBase sandbox และดูผลลัพธ์ของคุณใน Lab
เปิดใน Lab ↗สิ่งที่คุณจะได้รับ
Bring a flying hero, a place, the passengers and a mood; the Agent writes the islands, the route and the story. The Skill returns a downloadable Skill (the game project, a quoted and budget-capped SandBase asset step, a single-file build and a play-test) and two playable examples with their prepared media.
วิธีการทำงาน
- 01
Describe the flyer and who needs help
Name a flying hero, a sky, the passengers and a safe place, plus the mood, for example: a paper-kite fox over flooded rice terraces, four stranded ducklings, a hilltop shrine, gentle flute music. The Agent runs node scripts/new-project.mjs --out my-game, then sets island heights, updraft rings, landing rings and the passenger order in a new theme with prompts for every model and sound.
- 02
Quote the flight assets before buying
Call npm run assets -- --theme <id> --budget <n>; the value n is the per-theme spending ceiling you decide on. The quote lists text-to-3D for the dragon, the passenger and the camp, a segmentation model that splits the wings off for flapping, a music model and a sound-effect model. It refuses any plan past n without billing. Only --confirm-real submits, charging your SandBase account; generation needs a SandBase login or SANDBASE_API_KEY, which the scripts redact.
- 03
Build the sky and play-test it
With Node 22.14.0 and FFmpeg, run npm ci, npm run restore, which re-checks prepared media by SHA-256 and downloads only missing files, and npm run build:single. dist-single/index.html is the whole game, flying offline with no model. npm run shoot -- --spec themes/<id>/verify.json flies Chrome through the title, Start, throttle, steering, climbing, descending, a rescue, an autopilot win, a splash-down loss, retry, mute and 390×844 phone taps. In npm run preview:sandbox, E lands only after braking low over the ring.
คำถามที่พบบ่อย
How do you land and rescue in Dragon Rescue?
In Dragon Rescue you land by braking with S and holding Shift until the dragon is slow and low over an island’s ring, then pressing E. The prompt changes to Pick up when a passenger is waiting and to Deliver or rest at the camp. Only one islander rides at a time, so the main example needs three round trips from islands at heights of 6, 9 and 13.
Which models does Dragon Rescue use, and where is it billed?
Dragon Rescue uses a SandBase text-to-3D model for the dragon, the passenger and the camp, a segmentation model that separates the wings so they can flap, a music model and a sound-effect model. Each call is billed to your SandBase account. Before anything is submitted, npm run assets prints the full plan with a quote and rejects it if it passes the --budget ceiling you pass in.
Is the flying realistic?
No, Dragon Rescue uses arcade flight rather than aerodynamics. Speed, turn rate, climb and descent are simple tuned values, the wings flap faster as the dragon speeds up, and energy is the only resource: climbing spends it, carrying spends it faster, and updraft rings or the camp restore it. Wind, stalls and collisions with clouds are not modelled.
Does the dragon game work offline?
Yes, every Dragon Rescue example is one HTML file of about 3.0 MiB that plays with no connection. Three.js, the island scenery code, the generated dragon and passenger, the music and the sound effects all sit inside the file, and no request or model call happens in flight. A WebGL 2 browser is required; speed on particular devices was not benchmarked for this page.
Can children fly Dragon Rescue on a tablet?
Yes, Dragon Rescue works on touch screens and has no countdown in the main example, so a slow pilot is not punished. A joystick steers, Climb and Descend are hold buttons, and Rescue picks up or delivers; each control is at least 44 CSS pixels. The only way to lose is running out of energy and dropping into the sea, which retry undoes at once.
What does my computer need to make a Dragon Rescue theme?
A Dragon Rescue theme is made on your own computer with a coding Agent, Node 22.14.0, FFmpeg and a local Chrome for npm run shoot. Generating new models and music also needs a SandBase login or a SANDBASE_API_KEY in the environment; the key is never printed. Rebuilding the two shipped examples needs no account, because npm run restore reuses their verified media.
Skills เพิ่มเติม
Skills ทั้งหมดสำหรับ Game creation →
Seagull Swoop
Build a 3D flight-and-delivery game with light fries, heavy fish, crosswinds and optional ring routes. The gull must bring lunch home; cargo weight changes which openings it can safely reach.

Wedding Cake Wobble
Build a 3D fragile-cargo delivery game around a wobbling wedding cake. Brake before turns, avoid crossing guests and steer around tables. Lost tiers change the score, while a partial delivery can still succeed.

Hermit Tide
Build a 3D route-and-timing game where a hermit crab changes shells to cross a tidal shore. Narrow gaps favour the cap, stronger shells resist waves, and dry stones provide shelter and checkpoints.

Clover Circuit: Estate Cut
Drive a coral ride-on mower through a fenced estate garden. Steering, braking and the moving blade cut actual grass tufts; Overview reveals the genuine trail. Edit three gardens and three scene palettes offline. Coverage counts trimmed tuft centers rather than continuous ground area.

Glide Gates: Lagoon Run
Flap a golden bird through emerald pipe pairs above a turquoise lagoon. Actual fixed-step gravity, swept circle contacts and full-gate scoring power both manual flight and clearly labeled practice. Edit three courses and three scene palettes offline.

3D Interactive Garden Islands
Walk a curved garden, harvest fruit, share gifts, catch butterflies, fish, grow flowers and craft furniture. Four lighting states and one offline HTML with bilingual keyboard and touch controls.
