西风逍遥游
|
097444bfc2
|
fix(vehicle): RTS orders arrive and fire, weapons auto-reload, demo uses sprites + HUD
- kinematic RTS orders decelerate when turning/approaching so moveTo actually
arrives inside arriveRadius instead of orbiting forever
- attack order now auto-fires auto-aim mounts within weapon range
(attack_move keeps aim-only behavior)
- weapon module auto-starts reload when mag empty, cooldown done, reserve left;
events still emitted, game can override/cancel
- vehicle demo: real Kenney CC0 sprites (body rotates, turret rotates by
mount yaw, destroyed greys out), readable ImGui HUD log, capture-mouse
guard so clicks on HUD don't issue orders
- tests: weapon.fire.autoReloadOnEmpty; README + design doc updated
|
2026-08-23 20:32:43 +08:00 |
|