11-19 更新 实时
首页/ 深度/ 正文

AI 编程会吃掉电子游戏引擎吗?

深度 来源:IEEE Spectrum AI 2026-11-18 20:00 0 阅读 机器翻译
AI 编程会吃掉电子游戏引擎吗?

面向技术内行

面向技术内行

IEEE Spectrum 是 IEEE 的旗舰出版物——IEEE 是全球最大的致力于工程与应用科学的专业组织。我们的文章、视频和信息图向读者介绍技术、工程与科学领域的最新进展。

创建账户,即可享受更多免费内容和权益

将文章保存下来以便稍后阅读,需要拥有 IEEE Spectrum 账户

The Institute 的内容仅对会员开放

下载完整 PDF 期刊为 IEEE 会员专属权益

下载本电子书为 IEEE 会员专属权益

Spectrum 数字版的访问权限仅限 IEEE 会员

关注话题是 IEEE 会员专属功能

加入全球最大的致力于工程与应用科学的专业组织,即可访问 Spectrum 的全部文章、档案、PDF 下载及其他权益。进一步了解 IEEE →

加入全球最大的致力于工程与应用科学的专业组织,即可访问这本电子书以及 IEEE Spectrum 的全部文章、档案、PDF 下载及其他权益。进一步了解 IEEE →

访问数千篇文章——完全免费

创建账户即可获取专属内容和功能:收藏文章、下载合集、发表评论——全部免费!如需完整访问权限和更多权益,请订阅 Spectrum。

AI 编程会吞掉游戏引擎吗?

热门游戏引擎 Unreal Engine 的缔造者 Epic Games,正在与独立 AI 编程工具赛跑

Matthew S. Smith 是 IEEE Spectrum 的特约编辑,曾任 Digital Trends 的首席评测编辑。

11月初,Epic Games 在 Unreal Engine 5.9 中推出了 Unreal Canvas,为游戏开发者提供了与 AI 智能体协作创建游戏素材的途径。

当 Travis McGeathy 的工作室 Seeker Entertainment 在9月耗尽资金时,其游戏 KinForge 也随之停摆。KinForge 是一款基于 Unreal Engine 5.7 构建的在线游戏,设计运行在 Amazon Web Services(AWS)托管的服务器上。由于再无人支付服务器账单,这款游戏变得无法游玩,即便是包括工作室联合创始人 McGeathy 在内、手握代码的少数几位开发者也不例外。

随后,McGeathy 一时兴起,把 Anthropic 的 Claude Code 指向该项目,要求它让 KinForge 在不依赖 AWS 的情况下可玩。经过四个小时基本无需人工干预的工作,他就得到了一个能让玩家自行架设游戏的构建版本。Claude 添加了对通过互联网和局域网进行点对点联机的支持。让 McGeathy 意外的是,它还加入了持久化存档状态功能,使玩家在掉线后能够继续游戏。

尽管 KinForge 仍构建在 Unreal Engine 之上,但这类进展可能会让开发游戏引擎的公司感到担忧。这次改造是通过智能体式 AI 工作流完成的,它在某种程度上绕过了许多公司——包括 Unreal Engine 的缔造者 Epic Games——花费数十年精心打磨、对用户友好的复杂游戏引擎界面。Anthropic 于11月9日发布的 Fable 5.2 进一步抬高了门槛。该模型能够以热门游戏《使命召唤》系列的风格,用自定义游戏引擎生成一款 3D 游戏。

这引出了一个问题:游戏引擎的演进速度,能否跟得上模型的进步?

“我们无疑身处这样一个世界:我可以非常快地构想出软件。那么,如果 Unreal Engine 是静态的,到明年年底它还有什么价值?这正是我们大力转向速度的原因,”Epic Games 首席运营官 Daniel Vogel 表示。“我认为,任何固定的功能或特性集合,最终都可能被复制。如果我们做得对,我们就是在推动引擎、不断突破边界。”

从代码到节点,再回到代码

主流游戏引擎常常为开发者提供新的可视化工具和工作流,帮助他们在更少接触代码的情况下构建游戏。Unreal Engine 的 Blueprints 就是一个例子——这是 Unreal Engine 4 中引入的一套基于图形的系统,让设计师只需把方框连接起来就能编写游戏逻辑。法国工作室 Sandfall Interactive 推出的获奖游戏《Clair Obscur: Expedition 33》在编写游戏遭遇战时便大量依赖 Blueprints。

这本应证明该功能的成功。但事实恰恰相反,Epic 将在 Unreal Engine 6(UE6)中移除 Blueprints。为什么?要怪就怪 LLM。“AI 处理 Blueprints 的效果并不好,”McGeathy 说。“它更愿意跟代码打交道。”

目前,LLM 主要通过 Model Context Protocol 服务器与 Unreal Engine 交互。MCP 是 Anthropic 创建的一项开源标准,可让 AI 向软件发送指令。“它实际上并没有移动鼠标,”曾参与 Amazon Games 和 Sony Online Entertainment 项目的玩法与系统工程师 Ryan Barker 说。“它是向编辑器发送编辑器能够理解的信号。”

UE6 将顺应这一现实,把所有代码迁移到 Verse——一种基于文本的编程语言,它将同时取代 Blueprints 和 Unreal Engine 5 的 C++ 游戏玩法框架。UE6 还将用 Scene Graph 取代 Unreal 基于面向对象编程的 Actor 框架,Scene Graph 类似于实体组件系统(ECS)。“通常来说,围绕 ECS 编码要难得多,”Barker 说,但 ECS 能带来更出色的游戏性能,并减少重复代码。LLM 可以帮助管理这种复杂性。

Verse 于 2023 年在 Unreal Editor for Fortnite 中首次亮相,Scene Graph 则于 2024 年推出。Verse 的设计初衷是让数百万创作者在 Fortnite 中并行运行代码,因此它十分严格。编译器会在代码运行前捕获错误,并限制每个函数能做什么。而由于 Scene Graph 构建在 Verse 之上,AI 可以通过代码与游戏世界交互。这与 Blueprints 不同,后者以二进制文件形式存储,LLM 无法直接读取。

除了这些变化,UE6 还将让引擎更加模块化,并通过应用程序编程接口暴露其各项系统,“这样 AI 工具就能直接调用它们,而无需退回使用缓慢的 computer use 方式,”Wassmer 说。Epic 内部有一个名为“Python All The Things”的项目,目标是让编辑器中的一切都可脚本化。UE6 还将把更多游戏资产以文本形式存储,以便 LLM 可以直接编辑。对于仍然存在的二进制资产(非文本文件),Epic 正在构建一个命令行工具,让智能体无需加载完整的 UE6 界面即可与这些文件交互。

传统的 Unreal Engine 编辑器不会消失,但 Vogel 预计,随着 LLM 的使用越来越普遍,它将会发生变化。“你不会再在编辑器里用可视化方式移动东西了。那个时代已经过去了,”他说。相反,他预计游戏开发者会更频繁地使用 Unreal Engine 编辑器来可视化“做出决策或进行调整所需的上下文”。

Unreal Engine 5.9 让人得以一窥这一转变在实践中意味着什么。该版本于 11 月 9 日以开发者预览版形式发布,其中包含一项名为 Unreal Canvas 的新功能。Vogel 说,这是一项协作功能,灵感取自 Miro 这类可视化工作空间软件。“它是一种理解项目的方式,”Vogel 说。

既然能自己造引擎,为什么还要买?

Epic Games 的目标是,在 AI 编程工具能力日益强大的世界里,让 Unreal Engine 保持其重要性。该公司有一个有利条件:它是从强势地位出发来应对这一问题——Unreal Engine 是使用量第二高的引擎,仅次于 Unity Technologies 的 Unity 引擎;而若以售出游戏数量衡量,则排名第一。

McGeathy 表示,从零开始打造引擎也有其好处。“如果你拥有引擎,你就不必依赖第三方,而第三方可能会把它从你脚下抽走。”不过,他仍怀疑会有多少开发者走这条路,即便 AI 让这件事没那么痛苦。“作为游戏开发者,你的目标是做出一款游戏,而不是做一个游戏引擎。”

他说,LLM 真正带来的改变,是降低了在游戏引擎之间切换的成本。McGeathy 是 Unreal 的老手,他用 Claude 开始在 Godot 里动手开发——这是一个他自己从未接触过的开源引擎。“AI 让从使用 Unreal 转向 Godot 变得轻而易举,”他说。Barker 也认同这一点。他用一个 LLM 在 Unreal 和 Godot 中都搭建了物理测试场景,这让他得以评估哪个引擎更适合实现某个游戏构想。

Wassmer 承认,AI 让(使用 Unreal Engine 的开发者)“更容易掌握一项新标准,或转换手头的东西”,并表示 Epic 不会试图阻止这一转变。相反,UE6 将尽可能消除障碍。“我们的明确目标就是能够与其他生态和其他游戏互操作,”他说。

原文较长,译文为节选;译文由英文原文机器翻译,术语按行业惯例统一,可在文末展开原文核对。

查看英文原文(Will AI Coding Eat Video Game Engines?)

FOR THE TECHNOLOGY INSIDER

FOR THE TECHNOLOGY INSIDER

IEEE Spectrum is the flagship publication of the IEEE — the world’s largest professional organization devoted to engineering and applied sciences. Our articles, videos, and infographics inform our readers about developments in technology, engineering, and science.

Enjoy more free content and benefits by creating an account

Saving articles to read later requires an IEEE Spectrum account

The Institute content is only available for members

Downloading full PDF issues is exclusive for IEEE Members

Downloading this e-book is exclusive for IEEE Members

Access to Spectrum 's Digital Edition is exclusive for IEEE Members

Following topics is a feature exclusive for IEEE Members

Join the world’s largest professional organization devoted to engineering and applied sciences and get access to all of Spectrum’s articles, archives, PDF downloads, and other benefits. Learn more about IEEE →

Join the world’s largest professional organization devoted to engineering and applied sciences and get access to this e-book plus all of IEEE Spectrum’s articles, archives, PDF downloads, and other benefits. Learn more about IEEE →

Access Thousands of Articles — Completely Free

Create an account and get exclusive content and features: Save articles, download collections, and post comments — all free! For full access and benefits, subscribe to Spectrum .

Will AI Coding Eat Video Game Engines?

Epic Games, creator of the popular Unreal Engine, is racing against standalone AI coding tools

Matthew S. Smith is a contributing editor for IEEE Spectrum and the former lead reviews editor at Digital Trends.

A game development software being used to generate and refine images, videos, and 3D models of an 1800’s saloon setting for a video game.

Epic Games unveiled Unreal Canvas as part of Unreal Engine 5.9 in early November, which offers ways for game developers to work with AI agents to create game assets.

When Travis McGeathy’s studio, Seeker Entertainment, ran out of funding in September, its game KinForge went down with it. KinForge was an online game built in Unreal Engine 5.7 and designed to run on servers hosted by Amazon Web Services (AWS). With no one left to pay the server bill, the game became unplayable even for those few developers, including studio co-founder McGeathy, who had the code.

Then, on a whim, McGeathy pointed Anthropic’s Claude Code at the project and asked it to make KinForge playable without AWS. After four hours of mostly hands-off work he had a build that let players host their own games. Claude added support for peer-to-peer play over both the Internet and a local area network. To McGeathy’s surprise, it also added persistent save states, a feature that lets players resume a game if they’re disconnected.

Although KinForge is still built in Unreal Engine, developments like this could give companies that create game engines cause for concern. The conversion was accomplished with an agentic AI workflow that partially bypasses the elaborate, user-friendly game engine UI that many companies, including Unreal Engine creator Epic Games, have spent decades perfecting. Anthropic’s Fable 5.2, released November 9, further upped the ante. The model is capable of generating a 3D game with a custom game engine in the style of the hit Call of Duty series.

This raises a question: can game engines evolve quickly enough to keep pace with model improvements?

“We’re definitely in a world where I can just dream up software really fast. So, if Unreal Engine was static, what’s the value at the end of next year? This is why we are pivoting hard towards velocity,” says Daniel Vogel, chief operating officer at Epic Games. “I think with any fixed set of features or functionality, it can eventually be replicated. If we’re doing our job right, we’re pushing the engine and pushing the envelope forward.”

From Code to Nodes, and Back Again

Major game engines often offer developers new visual tools and workflows that help them build games while interacting with less code. Unreal Engine’s Blueprints, a graphically based system introduced in Unreal Engine 4 that lets designers script gameplay simply by wiring boxes together, is an example. Clair Obscur: Expedition 33, an award-winning game from French studio Sandfall Interactive, leaned heavily on Blueprints for scripting gameplay encounters.

That should have been proof of the feature’s success. Instead, Epic will remove Blueprints in Unreal Engine 6 (UE6). Why? Blame LLMs. “AI doesn’t handle Blueprints very well,” says McGeathy. “It would much rather work with the code.”

Currently, LLMs interact with Unreal Engine primarily through a Model Context Protocol server. MCP is an open-source standard created by Anthropic that lets AI send commands to software. “It’s not actually moving the mouse,” says Ryan Barker, a gameplay and systems engineer who has worked on projects for Amazon Games and Sony Online Entertainment. “It’s sending signals to the editor that the editor understands.”

UE6 will lean into that reality by moving all code to Verse, a text-based programming language that will replace both Blueprints and Unreal Engine 5’s C++ gameplay framework. UE6 will also replace Unreal’s actor framework, which is based on object-oriented programming, with Scene Graph, which resembles an entity component system. “Typically, an ECS is a lot harder to code around,” says Barker, but ECS can provide superior game performance and result in less duplicate code. An LLM can help manage the complexity.

Verse debuted in Unreal Editor for Fortnite in 2023, while Scene Graph arrived in 2024. Verse was designed to let millions of creators run code side by side in Fortnite, so it’s strict. The compiler catches mistakes before code runs and limits what each function can do. And because Scene Graph is built on Verse, an AI can work with a game world through code. That’s different from Blueprints, which are stored as binary files that LLMs can’t read directly.

In addition to these changes, UE6 will make the engine more modular and expose its systems through an application programming interface “so that AI tooling can get at them without needing to fall back to slow computer use,” says Wassmer. An internal effort that Epic calls “Python All The Things” aims to make everything in the editor scriptable. UE6 will also store more game assets as text so an LLM can edit them directly. For binary assets (non-text files) that remain, Epic is building a command-line tool that allows agents to interact with the files without loading the full UE6 interface.

The traditional Unreal Engine editor isn’t going away, but Vogel expects it will change as LLM use becomes more common. “You’re not going to move stuff visually in the editor. Those times are gone,” he says. Instead, he expects game developers will more frequently use the Unreal Engine editor to visualize “the context needed to make decisions, or make the tweaks.”

Unreal Engine 5.9 offers a glimpse at what that transition will mean in practice. Released as a developer preview on 9 November, it includes a new feature called Unreal Canvas. Vogel says it’s a collaboration feature that takes inspiration from visual workspace software like Miro. “It’s a way to make sense of the project,” says Vogel.

Why Buy an Engine When You Can Build One?

Epic Games’ goal is to keep Unreal Engine relevant in a world where AI coding tools are becoming ever-more capable. The company has the benefit of approaching the problem from a position of strength: Unreal Engine is the second most commonly used engine, after Unity Technologies’ Unity engine, and ranks first if measured by the number of games sold.

McGeathy says there can be benefits to creating an engine from scratch. “If you own the engine, you’re not reliant on a third party who could yank it out from underneath you.” However, he remains skeptical that many developers will go that route, even if AI makes it less painful. “Your goal as a game developer is to make a game. It’s not to make a game engine.”

What LLMs do change, he says, is to lower the cost of switching between game engines. McGeathy, an Unreal veteran, used Claude to start building in Godot, an open-source engine he had never touched himself. “AI made transitioning from using Unreal into Godot trivial,” he says. Barker agrees. He used an LLM to build physics test scenes in both Unreal and Godot, which let him evaluate which engine was better suited to handle a game concept.

Wassmer recognizes that AI makes it “easier [for developers using Unreal Engine] to pick up a new standard, or to convert stuff,” and says that Epic won’t attempt to block this shift. On the contrary, UE6 will remove barriers where possible. “Our explicit goal is to be able to interoperate with other ecosystems and other games,” he says.

He feels confident that, even with the aid of LLMs, building an engine from scratch carries a heavy price that most developers won’t want to pay. “You still have to burn a lot of tokens to get something of scale that is optimized and that runs across all platforms,” Wassmer says. “Would you rather spend that time and energy building something from scratch? Or would you rather use something modular, like UE6, and trim out the bits you don’t need?”

Related Articles Around the Web

原文为英文,正文由自动抓取并保留原文。

本文由采集器自动同步

原文发布于 IEEE Spectrum AI(Will AI Coding Eat Video Game Engines?),标题、摘要与正文由机器翻译,术语按行业惯例统一,未经人工逐句校订。

阅读原文 ↗