Repository navigation
en ai networking roadmap
nullus-docs-bot edited this page Oct 14, 2026
·
1 revision
中文 | English | Docs | Repository
This page covers gameplay AI (navigation and decision making) and multiplayer networking. The former has a small working native foundation; the latter has not started.
Runtime/Engine/AI provides two native state machines:
| Type | Notes |
|---|---|
StateMachine |
A set of states and transitions advanced by Update(dt)
|
PushdownMachine |
A pushdown automaton with a state stack, suited to interruptible and resumable flows |
State |
A state node holding an update function |
StateTransition |
Transitions between states |
These are native C++ types used by the engine and native logic. They are not in the scripting API manifest, so C# and Lua cannot construct state machines directly today.
- Navigation mesh generation, path queries, and dynamic avoidance
- Behavior trees
- Perception (sight, hearing)
- Crowd behaviors
- AI debug visualization and a runtime viewer
There is no network transport, session management, replication, or synchronization code, and no components reserved for networking.
| Area | Goal |
|---|---|
| Navigation | Navmesh generation, path queries, dynamic obstacles, and avoidance |
| Decision making | Behavior trees and perception, editable and debuggable in the editor |
| Crowds | Local avoidance and group formation |
| Transport | A lower-level transport abstraction with reliable and unreliable messages |
| Sessions | Session creation, joining, leaving, and reconnection |
| Replication | Object and property replication, authority, and rollback correction |
| Determinism and replay | Record and replay input for debugging and validation |
- Exposing
StateMachineandPushdownMachineto scripts requires adding them to the API manifest with portable signatures; see the Scripting API Reference. - Navigation depends on the spatial index and geometric queries. Those queries overlap with physics, so they should share infrastructure; see Physics Status and Plans.
- Behavior trees need editor support and new asset types, following Editor Script Extensions and Reflection and Serialization.
- A networking replication layer must cooperate with scene object lifetime: creation, destruction, and activation state all need stable network identity. That requires defining how object identity is represented on the wire first.
- Networking and threaded rendering interact through threading: which thread network callbacks run on, and how they produce scene commands. Following the existing model, network callbacks should produce commands rather than mutate render state directly; see Jobs and Threading.
This page describes goals and dependencies, not a schedule. When implementation status changes, the Feature Status Matrix and the source are authoritative.
- Scripting Overview for how native types are exposed to scripts.
- Feature Status Matrix for the cross-domain overview.
Nullus Engine
中文
- 认识 Nullus
- 安装与快速入门
- 使用编辑器
- 场景与对象
- Prefab 工作流
- 资产与内容管线
- 渲染、材质与光照
- 大场景与资源管理
- 游戏逻辑与脚本
- 用户界面
- 动画与角色
- 物理与交互
- 音频、特效与媒体
- AI 与联网
- 平台、构建与发布
- 扩展与引擎架构
- 调试、性能与质量
- 参考手册
- 示例与发展路线
English
- Getting to Know Nullus
- Install and Quick Start
- Using the Editor
- Scenes and Objects
- Prefab Workflow
- Assets and Content Pipeline
- Rendering, Materials, and Lighting
- Large Scenes and Resource Management
- Gameplay and Scripting
- User Interface
- Animation and Characters
- Physics and Interaction
- Audio, Visual Effects, and Media
- AI and Networking
- Platforms, Builds, and Releases
- Extending the Engine
- Debugging, Performance, and Quality
- Reference
- Examples and Roadmap