Three hits, three sword effects三段攻击的刀光
The developer describes how each slash should look and feel. The agent builds the effects, then revises them after a review of the rhythm and impact.开发者描述每一刀想要的刀光和节奏,Agent 制作效果。人试玩后评审三刀的区别、节奏和打击感,再交给 Agent 调整。
How we built a game with AI我们怎样用 AI 做这款游戏
Slay Stream is a Hades-like action roguelite about Achilles descending into the Underworld to bring Patroclus home. These are seven parts of its development workflow, with examples from the project.Slay Stream 是一款类《哈迪斯》的动作肉鸽游戏。阿喀琉斯在诸神的直播镜头下深入冥界,救回帕特罗克洛斯。下面用项目里的实际例子讲开发流程的七个特点。
The developer describes the desired result. The agent makes a version, the developer reviews it, and the agent revises it based on that feedback.开发者先描述想要的效果。Agent 做出一版,开发者试玩或看样片、指出问题,Agent 按反馈继续修改。
The developer describes how each slash should look and feel. The agent builds the effects, then revises them after a review of the rhythm and impact.开发者描述每一刀想要的刀光和节奏,Agent 制作效果。人试玩后评审三刀的区别、节奏和打击感,再交给 Agent 调整。
AI plans the sequence and edits a cut. Human feedback focuses on pacing, transitions and which moments need more emphasis.AI 设计内容和镜头,再剪出样片。人看完指出哪里拖沓、哪里接得不顺、哪里需要加强。
Watch the opening video观看页首的开场视频Captured during one combo in the opening room开场「断门折廊」同一次三连击的实机画面
The agent searches the web, reviews wikis and videos, then presents multiple options the developer can compare. The three concepts below came from the art review for the Sun and Moon chapter.Agent 联网查资料,分析 Wiki 和视频,再把结果做成多个方案供开发者比较。下面三张是日月神章节美术评审时的真实候选图。
Roguelite design.肉鸽系统初版。 The agent compared progression systems, then proposed upgrades that players could see on their very next attack. One spin attack could gain lightning, inflict poison or cover a wider area.Agent 对比多款动作肉鸽的成长系统,再提出让玩家下一次出手就能看到强化效果。同一招旋斩可以附带落雷、施毒,或扩大攻击范围。
The rooms use 2D artwork to create an isometric 3D look. In early builds, walls and rails sometimes followed the wrong perspective. The agent did most of the diagnosis, correction and documentation, then saved the method as a Skill for later rooms.游戏用 2D 美术做出等距伪 3D 视角。早期房间的墙体和栏杆常出现透视错误。Agent 承担了大部分定位、修复和总结工作,最后把检查方法写成 Skill,供之后的场景复用。
One rule we kept.沉淀下来的一个检查项。 Keep the camera fixed and check the full length of walls and rails, along with the direction and thickness of columns and doorframes.固定游戏机位,沿墙基和栏杆的全长检查直线度,再核对柱子与门框的方向和厚度。
Set the character’s position and size and the layout of key structures in Blender. GPT uses that draft to finish the artwork. Giving it a fixed composition made the results more consistent.先在 Blender 中确定主角的位置、大小和主要建筑的布局,然后让 GPT 沿着这个结构做成场景美术。有了明确的构图和比例,出图通常更稳。
AI suggested turning the myth into a god-slaying livestream to appeal to younger players. That suggestion became the game’s premise.为了吸引年轻玩家,AI 提出了「弑神直播」的点子,后来成为游戏主题。
For the second boss encounter, the developer pointed to Sima Ying in Warm Snow as a reference for the Sun and Moon gods’ abilities. The agent understood the intent and developed the fight.第二场 Boss 战是太阳神和月神。开发者用《暖雪》的司马瑛来传达想要的技能和战斗感觉,Agent 理解后把这个方向做成了可玩的战斗。
Warm Snow reference images supplied by the developer. Bilibili watermark credit: 全球球变冷.《暖雪》参考截图由开发者提供,原图保留哔哩哔哩「全球球变冷」水印。
The agent carries the scene from layout to layered artwork and brings generated video shots together in the final edit.Agent 把场景草稿交给生图环节,再跟进裁切和拆层。做视频时,它把生成的镜头组织成可评审的成片。
The game was already complete in Cocos Creator, but the package was larger than the team wanted. To pursue a smaller download and a faster start, the agent handled nearly the entire browser port.原版已经在 Cocos Creator 中做完,但构建包偏大。为了减少下载量、让玩家更快开始游玩,Agent 承担了几乎整个网页端移植。
Original build原版
The original game ran in an inner iframe inside the platform wrapper.原游戏放在平台外壳里的内层 iframe 中运行。
Browser build移植后
The game and its wrapper run in one page and call Astrocade’s platform APIs directly.游戏和外壳在同一个页面运行,可以直接调用 Astrocade 的平台接口。
What the agent moved.Agent 做了哪些迁移。 It converted 190 TypeScript scripts to JavaScript, built a compatibility layer for the Cocos APIs the game used, and adapted 13 shaders to Three.js.把 190 个 TypeScript 脚本转成 JavaScript,为游戏用到的 Cocos 接口搭建兼容层,并把 13 个着色器适配到 Three.js。