roeas / roeas.github.io

My blog
https://roeas.github.io/
0 stars 0 forks source link

守望先锋中的 ECS 系统 - Hexo #26

Open roeas opened 1 month ago

roeas commented 1 month ago

https://roeas.github.io/2024/01/18/GDCOverwatchECS/

原标题 Overwatch Gameplay Architecture and Netcode Component:只保存状态,不含逻辑 System:只有逻辑,没有数据 系统按顺序更新(Tick),每个系统访问多个不同的组件,称之为元组(Tuple) 元组之后被 Sibling 取代了。 系统不关心实体,只关心具体的组件。 World array<System *> hash_