对抗失控AGI与机器人的Three.js第一人称射击游戏

Claude Fable 5.1用Three.js生成了波次射击游戏:玩家在夜晚屋顶迎战机器人和Boss,Boss的光束会照亮整个屏幕。

Claude Code + Three.js(仅代码)Wandy 2
真实模型 · 360°两者都基于同一张照片:左边是 Claude Code(Opus 5.5)用 Three.js 代码建模的一次未经修改的运行结果;右边是 Wandy 2。

创建精细的 3D 模型

单靠代码只能做出简单的形状。Wandy 2 能用一张照片生成带纹理的 3D 模型,直接用在同一个场景里。

Wandy3D 制作说明

作者没有公开提示词,因此我们写下了复现这个作品的方法。

Build a browser first-person wave shooter in Three.js. The player is a human fighting an unaligned AGI and its robot minions on a dark, cracked-asphalt rooftop arena at night. Show a title screen with a game name and an engage button, then a HUD with wave counter, health bar, ammo count and weapon slots. Include a firearm and a melee bat, small robot enemies and a larger boss machine with a glowing green screen face. Enemies telegraph attacks with glowing red laser lines on the floor and a large beam attack that floods the screen with orange-white light. Use a dim palette with neon red, orange and green accents, fog and bloom. Deliver one runnable web project with mouse-look and WASD controls, wave progression, win and lose states. Done when a player can start, clear several waves and see the boss attack.

如何使用这条提示词

  1. 在你的编程智能体中把构建说明交给Claude Fable 5.1,要求生成可运行的Three.js项目。

  2. 把反派、场景、武器或波次数量换成你自己的设定。

  3. 运行后用后续提示继续优化攻击预警、Boss招式和HUD清晰度。

原帖你是作者吗? 请联系我们修改或删除此页面