-
使用 Reality Composer Pro 3 设计无代码游戏
探索如何在 Reality Composer Pro 3 中使用 ScriptGraph 为你的 App 和游戏开发无代码 3D 内容。了解如何利用可视化节点来构建动画、创建互动时刻,并整合 SwiftUI 元素,为你的体验添加对话气泡和其他 UI。
章节
- 0:00 - Introduction
- 1:02 - Meet ScriptGraph
- 1:50 - A wish...
- 2:36 - Build the game
- 11:16 - Advanced techniques
- 18:32 - Next steps
资源
相关视频
WWDC26
-
搜索此视频…
-
-
17:23 - Squirrel Talk
// Advanced techniques if let scene = entity.scene { scene.subscribe(forEventName: "squirrelTalk", on: { event in if let sayThis: String = try? event.value("sayThis") { self.sayThis = sayThis } } ).store(in: &cancellables) } ... } attachments: { Attachment(id: "squirrelTalk") { SquirrelTalkAttachmentView(text: sayThis) } }
-
-
- 0:00 - Introduction
Discover how Reality Composer Pro 3 helps designers prototype and build games without writing a single line of code.
- 1:02 - Meet ScriptGraph
Get to know Reality Composer Pro 3's node-based scripting, ScriptGraph, and find out how it can help you quickly mock up ideas and build games through event-driven logic. Learn about some of the nodes available, and discover how you can review and iterate on your gameplay directly in Reality Composer Pro.
- 1:50 - A wish...
Saschka explains his visionOS game concept. He's going to use ScriptGraph to wake a sleeping squirrel, steal its nut, and use the nut to guide the squirrel home to its nest before winter falls.
- 2:36 - Build the game
Learn how to build gameplay elements in Reality Composer Pro. Saschka demonstrates how to add components to an entity and incorporate game logic using ScriptGraph. Find out how to create and link nodes, iterate, and preview interactions inside Reality Composer Pro (and, coming later this year, directly on Vision Pro).
- 11:16 - Advanced techniques
Time to unleash the full capabilities of Reality Composer Pro and ScriptGraph. Learn how to organize nodes into subgraphs, and create prototyped subgraphs that you can re-use in your other graphs. Saschka also demonstrates how to create custom events and use them within a ScriptGraph, build multiple ScriptGraphs that interact, and change materials on an entity to have characters react after interactions. And find out how to incorporate pieces of SwiftUI code to incorporate elements like character speech bubbles into your project.
- 18:32 - Next steps
Download Reality Composer Pro 3 to get started with designing your own no-code games, and check out a sample project that includes the game from this session.