作者以自身项目复盘揭示AI游戏开发中原型与成品间的巨大差距,提供关于迭代成本与人机协作的真实参考。
用 AI 构建游戏究竟需要付出什么
当我第一次把我们的设置交给 Claude 时,我们在 8 小时内就得到了一个可玩的演示版本。战斗效果很差,动画也很差,生物还在漂浮,但它能运行。这就是大家都在发布的内容。
这是没人发布的部分。将这个演示版本转化为 AneeMate 大约花了 40 天,期间有 5 到 8 个 AI 代理并行运行(负责游戏玩法、动画、UI、优化、世界和地图),而我作为 CEO 每天进行指导:
我发出了大约 3,000 条提示词
代理们执行了大约 70,000 次操作(读取文件、编写代码、运行构建、检查日志)
处理了大约 100 亿个 token
290 个变更包
1,100 多次提交
1,000 多次构建步骤
一个包含 8,900 行的看板,代理们在那里互相交流
一本记录了我们要修复的每个错误的“永不再犯”笔记本,AI 会在每次构建前检查它
AI 并不能在 8 小时内做出游戏。它能在 8 小时内做出原型。游戏来自于数千次的迭代:“生物在漂浮”,“已修复”,“现在它陷进了地板里”,“已修复”,“现在那个悬浮滑板的孩子看起来是向后看的”。速度改变了。品味、测试和耐心没有改变。
Epic 商店上线演示版,帮助我们测试:http://store.epicgames.com/p/aneemate-896b7e
最新的 AneeMate 演示已上线。以下是我们在构建过程中,AI 代理自信地犯错的十个时刻。 我们团队由人类和一群 AI 代理组成。这些代理速度快、不知疲倦,且非常自信。如果你认为可以把它们留在一边去建造你的游戏,那你比我更疯狂。我们输入了数以万计的提示词,但我们仍然必须测试输出结果,提供反馈,并在 AI 陷入困境时手动修复问题。在 Unreal 引擎中,这就是它的样子。 1. “已修复!”Yipee 原本悬浮在地面上方 10 厘米处。AI 进行了修复。现在 Yipee 悬浮在 30 厘米高处。它再次进行了修复。然后那个大家伙飞了起来。三条“已修复”消息。重力仍未生效。 2. 成功率 100%,128 个中 0 个成功。AI 运行了一个碰撞修复程序并报告“OK”。它实际上更改了 128 个网格中的零个。拥有 CEO 般的自信,输出却像屏幕保护程序。 3. 十个代理,一个生物。大约十个系统同时尝试设置该生物的高度。我们的生物下沉、漂浮并振动。最终我们只让一个系统负责这项工作。即使是机器人也需要经理。 4. Mawag 升空。AI 寻找地面,却找到了一个不可见的盒子。Mawag 完全悬空一米高。根据盒子的说法,它完美地立足地面。 5. AI 自我测试失败。它编写了一个测试来检查生物在被击中时是否有反应。每个测试都失败了。它将目标生成了 336 米远,对着空气挥拳,然后把责任推给游戏。 6. 悬浮滑板,驱魔版。AI 计算出了一个“自然”的骑行姿势。脚在滑板内部。头部向后转动 66 度。我提供了自己的动画,并手动修正了姿势。 7. 室内设计师。AI 将测试池塘标记放置在玩家的营地中。我们得到的却是悬浮在半空中的栅栏。水显然是额外添加的目标。 8. 玻璃屋模拟器。AI 为我们玻璃建筑套件中的每个三角形添加了碰撞检测。手持一面墙就会使游戏帧率降至 6 FPS。精美的幻灯片放映。 9. 在编辑器中有效。AI 的代码在 Unreal Editor 中编译完美,但在发布版本中崩溃,因为它调用了仅在编辑器中存在的函数。典型的实习生操作。 10. 不死生物。三个 Unreal Editor 进程在没有窗口的情况下卡住运行。AI 试图杀死它们。然后又试了一次。最终,它学会了绕过这些僵尸工作。 每一个这些错误现在都记录在我们代理的“永不再犯”笔记本中,它们在每次构建前都会查阅。它们正在学习。我们也是。 最新的 AneeMate 演示已在 Epic 商店上线。去破坏它,并告诉我们你发现了什么。 https://store.epicgames.com/p/aneemate-896b7e
原文
The latest AneeMate demo is live. Here are 10 times our AI agents were confidently wrong while we built it. Our team of humans and a bunch of AI agents. The agents are fast, tireless, and very sure of themselves. If you think you can leave them alone to build your game, you’re crazier than I am. We’ve put in tens of thousands of prompts, and we still have to test what comes out, give feedback, and fix things by hand when the AI gets stuck. Here’s what that looks like in Unreal. 1. “Fixed!” Yipee was floating 10 cm above the ground. The AI fixed it. Now Yipee floated 30 cm. It fixed it again. Then the big one took flight. Three “fixed” messages. Gravity still pending. 2. 100% success, 0 out of 128. The AI ran a collision fix and reported “OK.” It had changed exactly zero of 128 meshes. Confidence of a CEO. Output of a screensaver. 3. Ten agents, one creature. About ten systems were trying to set the creature’s height at the same time. Our creatures sank, floated, and vibrated. We finally gave one system the job. Even robots need a manager. 4. Mawag ascends. The AI looked for the ground and found an invisible box. Mawag stood a full meter in the air. Perfectly grounded, according to the box. 5. The AI tested itself and failed. It wrote a test to see if creatures react when hit. Every test failed. It had spawned the target 336 meters away, punched the air, and blamed the game. 6. Hoverboard, Exorcist Edition. The AI calculated a “natural” riding pose. Feet inside the board. Head turned 66 degrees backward. I gave it my own animations and fixed the pose by hand. 7. Interior decorator. The AI placed a test pond marker in the player’s camp. What we got was a fence floating in midair. The water was apparently a stretch goal. 8. Glass house simulator. The AI gave every triangle in our glass building kit collision. Holding one wall dropped the game to 6 FPS. Gorgeous slideshow. 9. Works in the editor. The AI’s code compiled perfectly in Unreal Editor, then crashed the release build because it called a function that only exists in the editor. Classic intern move. 10. The undead. Three Unreal Editor processes were stuck running without windows. The AI tried to kill them. Then it tried again. Eventually, it learned to work around the zombies. Every one of these bugs now lives in our agents’ “never again” notebook, which they check before every build. They’re learning. So are we. The latest AneeMate demo is live on Epic. Go break it and tell us what you find. https://store.epicgames.com/p/aneemate-896b7e
来源:Rass Bakala · x.com