开发者用 Claude 打造 Valheim 城建模组
AI 总结
一名 Valheim 模组创作者在 r/ClaudeAI 表示,Claude 编写了 Valheim City Builder 的大部分 C# 代码,包括 BepInEx 与 Harmony 补丁、居民 AI、经济系统以及自行建造房屋的机制。创作者还称,Claude 能通过远程命令文件控制游戏、检查截图并修正问题,同时诊断了两个已报告的缺陷。开发者进行的游戏内基准测试显示,合并已完成房屋进行渲染后,帧率从 36 提升至 56。
深度见解
该案例具体展示了 Claude 在游戏模组开发、调试、自动迭代和性能测试中的参与,但目前证据仅来自一名创作者的自述。
| press F7 and valheim turns into a city builder. vikings move in, pay taxes, want food and mead and leave if they dont get it. bosses live in camps and you storm them with your own army, every boss starts a new age with its own building style how claude helped: - wrote most of the c# code (bepinex + harmony patches into valheims own systems, settler AI, economy, houses that build themselves piece by piece out of real valheim building parts) - it could control the game through a little remote command file, so it built a town, took screenshots, checked if stuff looked right and fixed it itself - debugging: when a tester reported bosses chasing players into town and scouts getting stuck, claude found the causes and fixed both in one go - performance: it wrote an in-game benchmark, measured fps with 10 to 150 houses and found that merging finished houses for rendering gave the biggest boost (36 to 56 fps) - i did the design, testing and kept pushing it its completely free: nexus: https://www.nexusmods.com/valheim/mods/4613 thunderstore: https://thunderstore.io/c/valheim/p/RustyProductions/ValheimCityBuilder/ submitted by /u/Any-Explanation3814 [link] [comments] |