rewind· 来源· @rewind02 · X·· 1 天前精选AI 评分78
推荐理由
展示了通过自然语言交互驱动代码生成完整3D游戏的工作流,为AI辅助开发提供可复用的实践参考。
正文 · 原文
full 3d farming game was built in one html file with claude fable 5.2 + three.js..
no asset files at all
the trick is generating everything from code. here’s the workflow:
- step 1: set fable 5.2 to xhigh effort and ask for one self-contained html file using three.js
- step 2: prompt 1, the world: terrain, ~200k instanced grass blades that sway and flatten underfoot, a farmhouse and a barn with working doors
- step 3: textures from code: wood grain, peeling paint, wet soil that glistens after watering
- step 4: prompt 2, the farming loop: hoe for raised furrows, a seed catalogue, a watering can, a sickle, 6 crops from seed to harvest
- step 5: prompt 3, the atmosphere: 4 seasons, fog and rain, snow that builds up and holds footprints, lanterns that light at sunset
- step 6: audio from code too: footsteps that change on grass, dirt and wood, rain under a roof, background music
- step 7: share it as a claude artifact so anyone can play it in the browser
who does what:
fable 5.2: every mesh, texture, sound and line of javascript
three.js: rendering, lighting, instancing
one html file: the whole game
you: the brief and the feedback
small reactive details beat big features (dev: lucian__03)
来源:rewind · x.com