SepComet
|
31fe7a4d61
|
Checkpoint 5 & Checkpoint 6:
- SimulationWorld 只做逻辑计算与数据输出,不再直接写 Transform
- 在 ShowEntitySuccess 中接入 Pickup/Projectile 占位注册:
- Drop 走 UpsertPickup(...)
- Bullet/Projectile 走 UpsertProjectile(...)
- 在 HideEntityComplete 中接入对应回收:
- Drop 走 RemovePickupByEntityId(...)
- Bullet/Projectile 走 RemoveProjectileByEntityId(...)
- 新增占位数据构造:
- CreatePickupSimData(...)
- CreateProjectileSimData(...)
- 调整 EnemyManagerComponent 职责,现在只管“敌人相关”:
- 敌人刷怪节奏
- 敌人列表缓存与计数
- 玩家引用与 enemy.SetTarget(...)
- 新增嵌套类 SimulationWorld.Presentation,专门消费 EnemySimData 并回写 position/rotation
- 新增嵌套类 SimulationWorld.EntitySync 负责“Simulation 同步”:
- 监听 ShowEntitySuccess/HideEntityComplete
- 同步 Enemy/Drop/Projectile 到 SimulationWorld
- 敌人 SimData 构建、Pickup/Projectile 占位数据构建
|
2026-02-20 20:41:22 +08:00 |
SepComet
|
6494ebc5fd
|
Checkpoint 3 & Checkpoint 4:
- GameStateBattle 接入 Simulation 主更新入口
- SimulationWorld 增加开关 UseSimulationMovement(默认 false)
- SimulationWorld.Tick(...) 现在在开关开启时执行敌人追踪/移动模拟,基本还原 MovementComponent 功能(敌人互斥)
- 调整 IEnemySeparationSolver 系列方法,不再依赖 MovementComponent
|
2026-02-20 19:54:44 +08:00 |
SepComet
|
83f8a356f7
|
Checkpoint 2:
- 调整 SimulationWorld 作为 GameFrameworkComponent 组件
- ProcedureGame 接入 SimulationWorld 生命周期(创建/清理)并在敌人 Show/Hide 时同步注册/反注册
- 增加 EnemySimData 构建与缓存去重移除,避免重复注册和悬空映射
- SimulationWorld 增加 UpsertEnemy/UpsertProjectile/UpsertPickup,支持幂等注册
|
2026-02-20 18:47:00 +08:00 |
SepComet
|
3b8e0731f0
|
Checkpoint 1:
- 新增三类 SimData:
- EnemySimData
- ProjectileSimData
- PickupSimData
- 新增 Tick 上下文:SimulationTickContext
- 新增双向索引绑定:EntityBinding
- 新增纯数据容器世界:SimulationWorld
|
2026-02-20 18:27:14 +08:00 |
SepComet
|
ed3b37d0f7
|
更新 TodoList.md,细化 P1 开发要点
|
2026-02-20 18:17:25 +08:00 |
SepComet
|
3742110e9a
|
- 补充游戏核心逻辑
- 完成 TodOList P0
- 添加游戏内控制台便于调试
- 增加敌人互斥机制提高运算负载
- 优化互斥算法将游戏性能基准线拉到 1k 敌人
|
2026-02-20 18:08:27 +08:00 |