orbit/js
Brian Fertig f49051be69 Sync escort convoy speed to transport while visible and out of combat
- Add `_syncEscortSpeed()` in GameScene: when an escort contract is open, the transport is on screen, and combat is inactive, cap the player hull and escort fighters at the transport's own top speed; restore each craft to its normal/roster speed otherwise.
- Fighters keep their base speed on `_baseSpeed` so the restore is exact even after a jump re-form.
- Per-frame writes only on change to avoid steady-state churn or steering disturbance.
- Hook the sync into `updateSideQuestRoute()` so it runs each frame off the escort lane (no-op elsewhere).
- Cover the new behavior in `escort-flow.test.mjs`: match applies in view/out-of-combat, restores on combat open, transport off-screen, and contract end; give test crafts distinct speeds so match and restore are observable.
2026-09-27 11:21:56 -06:00
..
build
…
combat
…
comms
…
config
…
dev
…
economy
…
entities
…
galaxy
…
mining
…
player
…
quests
…
reputation
…
research
…
save
…
scan
…
scenes Sync escort convoy speed to transport while visible and out of combat 2026-09-27 11:21:56 -06:00
ship
…
skills
…
tether
…
ui Fix skill window close button racing with fly-here handler 2026-09-27 10:49:34 -06:00
utils
…
vendor
…
vignettes
…
visuals
…
main.js
…