A data organisation pattern

[E]ntity 实体 存放组件的容器
[C]omponent 组件 游戏所需的数据结构
[S]ystem 系统 根据组件数据处理逻辑状态

ECS中实体只是一个 ID,组件存储数据,系统处理逻辑。

GDC讲座 守望先锋的游戏架构和网络代码

https://www.youtube.com/watch?v=Z-CILn2w9K0

https://www.youtube.com/watch?v=NTWSeQtHZ9M

https://www.youtube.com/watch?v=2rW7ALyHaas

https://www.youtube.com/watch?v=s6TMa33niJo


Notes

https://austinmorlan.com/posts/entity_component_system/

Projects

flecs

https://github.com/SanderMertens/flecs

https://terzalo.itch.io/tome-tumble-tournament

Entt

Critic

https://x.com/Jonathan_Blow/status/1917287822106714223

https://x.com/Jonathan_Blow/status/1917287822106714223