提供可直接复用的Prompt,利用Claude Code在空文件夹中生成包含完整物理与渲染的3D网页游戏。
the prompt, paste it into Claude Code (or any model) in an empty folder:
Build a 3D jet ski racing game that runs in the browser. Single index.html, three.js only, no external assets, everything procedural.
WORLD:
1. a wide bay with a city skyline on the horizon, 40+ procedural skyscrapers in different heights and window patterns
2. realistic water: animated waves, fresnel reflections of the sky and buildings, foam where the jet ski cuts through
3. soft sunset lighting, fog toward the horizon, sailboats and small motorboats moving on their own
JET SKI:
1. third-person chase camera with slight lag and tilt into turns
2. physics that feels like water: drift when turning, bounce over waves, speed loss on sharp turns
3. a white wake trail and spray particles behind it, bigger at higher speed
GAMEPLAY:
1. WASD or arrows to steer, Space for boost, boost meter that refills slowly
2. orange rings floating above ramps, jumping through one gives a "WAKE JUMP" bonus with airtime shown in seconds
3. score that grows with distance, speed and near misses with boats
4. combo multiplier that resets when you hit something
HUD:
1. big speed number at the bottom center, score top left, multiplier and best lap top right
2. short pop-up text for every trick: WAKE JUMP, NEAR MISS, BOOST
POLISH:
1. 60 fps on a normal laptop
2. start screen with the game name CRAZY JETSKI RIDER and a "press any key" prompt
3. after building, test it yourself and fix anything that breaks before showing me
来源:Degenlord · x.com