Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

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.

示例

Glide Gates playable bird flight
在新标签页中打开

Glide Gates playable bird flight

该示例在沙盒化的框架中运行,无法访问此页面。

在线运行

在 SandBase sandbox 中运行,并在 Lab 中查看结果。

在 Lab 中打开 ↗

你将获得什么

Bring a bird, flight course and optional scene palette. The Skill returns a downloadable Skill, interactive demos and example videos.

工作原理

  1. 01

    Fill the Lagoon Run prompt

    Glide Gates fills its prompt with node scripts/fill-prompt.mjs --slots assets/prompts/examples/lagoon-run.json --out prompt.md, then node scripts/new-project.mjs --out my-flight and npm ci on pinned Node 22.14.0. src/course.json holds bilingual names, the seed, three difficulty tiers and three palettes. Gravity accepts -10 to -6, flap impulse 3.8 to 5, speed 2.8 to 5, gap 2.8 to 4 and spacing 5 to 7.

  2. 02

    Flap through the gates

    A golden bird flies over a turquoise sea through emerald pipe pairs. Tap, Space or ArrowUp flaps, P pauses and R restarts. Passing a complete gate scores once; touching a pipe, the floor or the ceiling ends the run. Collision uses a swept circle of radius 0.3 at the bird centre against the pipe rectangles, and the Hit volume toggle shows it.

  3. 03

    Build and verify geometry

    npm run build:single writes dist-single/index.html, which uses no network, storage or external assets. npm run shoot -- --file dist-single/index.html writes the verification report. The release verified 5 gates, 3 difficulties, 3 themes and a geometry error near 4.4e-16. Validate an alternate course as well as the bundled one, and deliver editable source with the actual report.

常见问题

What is Practice mode in Glide Gates?

Glide Gates Practice flies with the same impulses, collision and scoring rules as a normal run, and is clearly labeled. It never writes scores directly. Best scores are kept in memory only, separated by difficulty and by manual or practice mode, with no persistence or backend.

Why does my Glide Gates bird fail immediately?

Glide Gates ends the run on any contact between the 0.3 radius hit circle and a pipe, the floor or the ceiling. Turn on Hit volume to see the circle, since the wings, beak and tail do not count. Start with the Breeze tier or Practice to learn the flap timing.

Why is Glide Gates showing a black screen?

Glide Gates needs a WebGL2-capable browser. If the course configuration is invalid JSON, the game reports a stable course_ error code with guidance in both languages rather than rendering.

Does Glide Gates need a key?

No. Glide Gates needs no key and makes no runtime model call. npm ci installs pinned public build dependencies, and the built HTML runs offline or in an allow-scripts sandbox with its dependency notices kept.

Is Glide Gates a full 3D physics game?

No. Glide Gates uses illustrative orthographic three.js geometry, and pipe collisions test a swept circle against side-view rectangles rather than a full 3D body. Reduced motion keeps the ready scene still and removes decorative wing movement. Sound starts muted and plays synthesized tones after a gesture.