街机免费endlessflyingprocedural
Canyon Glider
驾驶纸滑翔机穿过没有尽头的峡谷,连续穿环叠加倍数,借上升气流爬升,贴墙飞过拿险过奖励。
玩小样
这条提示词会做出什么
- 前方生成、后方回收的无尽地形
- 每日种子:所有人飞同一条峡谷
- 速度线和随速度变宽的视野
- 最高分保存在浏览器里
2026 年 11 月 15 日用 Claude Code(Claude Fable 5.2)实测。小样就是它做出来的,放在本站时 Three.js 改由本站提供。
提示词
Build a small 3D browser game called **Canyon Glider**: an endless flight through a winding canyon, threading rings.
## The game
- A paper glider flies forward on its own through a canyon that is generated ahead of it and removed behind it, with no end.
- The canyon winds left and right and rises and falls. Rock arches, pillars and narrow gaps appear more often as the distance grows.
- Glowing rings hang along the best line. Score comes from distance, rings and near misses, all multiplied by the streak: each ring passed adds one to it and raises the speed a little, up to a top speed. Missing a ring resets the streak but not the speed.
- Touching rock ends the run with a tumble and a short slow motion, then the score, the best score (kept in localStorage) and "Fly again".
- Updrafts, shown as rising streaks of light, lift the glider when it flies through them, and the ring after an updraft hangs higher.
- The glider cannot leave the canyon: near the rim a soft ceiling eases it back down.
## Controls
- Mouse: the glider steers toward the pointer; with the pointer in the middle it flies level, and up means climb. Keyboard: WASD or arrow keys to bank and pitch. Space for a short burst of speed that recharges, shown as a small meter.
- Touch: drag anywhere to steer, double tap for the burst.
## Look
- Warm sandstone walls in layered bands of orange, rust and cream, flat shaded, under a deep blue sky with a low sun that throws long shadows across the canyon.
- A thin river far below that catches the light.
- Speed lines at the edges of the screen that grow with speed, and a faint trail from each wing tip.
- Distance fog in a warm haze so new canyon fades in rather than popping.
## Feel
- The glider banks into turns and the camera rolls with it, a little less than the glider does.
- The field of view widens with speed and snaps slightly on the burst.
- Passing close to a wall without touching gives a "near miss" bonus and a whoosh.
- Wind noise rises with speed; each ring adds a note of a rising scale that restarts when the streak breaks.
- Generation is seeded by the date (UTC), so everyone flies the same canyon today, and the title says so.
## Tech
- Three.js r180 as ES modules, loaded from a CDN import map. No build step and no other libraries.
- Three files: `index.html`, `game.css`, `game.js`. No inline scripts or styles.
- Everything is procedural: geometry, colours, textures drawn on a canvas, and sound made with WebAudio. No image, model, font or audio files.
- Runs at 60 fps on a laptop with integrated graphics. Cap the pixel ratio at 2, reuse geometries and materials, and use instancing for anything that repeats more than 20 times.
- Fills the window and follows resizes. Works with keyboard and mouse, and with touch on a phone (on screen controls appear only on touch devices).
- Movement uses delta time, clamped to 1/30 s, so the game plays the same at any frame rate.
- Sound starts only after the first input, and there is a small mute button.
## Attract mode
Before the first input the game plays itself: the camera moves slowly and the world is alive, with the title and "Click, tap or press any key to play" over it. The attract mode looks its best from its very first frame: it opens a little way into the action, never on an empty scene. The first input starts the game from a clean state.
## Done when
- The page opens with no errors in the console and the attract mode is running.
- Every control listed above works with keyboard and mouse, and with touch.
- A full round can be played to its end and started again without reloading: when a round ends, a panel shows the result and a "Play again" button (Enter works too).
- A short hint names the controls for the first few seconds of play, then fades.
- Nothing pops, stutters or falls through the world in two minutes of play.
怎么用
- 用 Claude Code、Cursor、Codex 或其他能写文件的编程智能体打开一个空文件夹。
- 粘贴整段提示词,等智能体做完。
- 用本地服务器打开 index.html(比如 npx serve)就能玩。想改什么,直接用大白话告诉它。


