fertig-classic-games/assets/fx/vega
Brian Fertig 77e27e2a8e feat(mastervega): add V2 per-ship combat prototype with continuous-time simulation
Introduce `VegaCombatV2.js`, a parallel headless combat engine that simulates
individual ships (not stack aggregates) in continuous time rather than discrete
rounds. Ships have per-hull `sizeScale`, `sizeSpeedMult`, and `turnRateBase`
fields; every entity tracks its own cooldown, position, facing, and angular
momentum. Damage and movement are banked per-tick to preserve fairness.

Accompanying files:
- `VegaCombatViewV2.js` — zoomable/pannable Phaser view with parallax starfield
- `VegaCombatCamera.js` — cursor-anchored zoom + drag-to-pan (listener cleanup
  on destroy to avoid stacking across battles)
- `VegaFormations.js` — formation strategy plumbing (chosen per side, not yet
  read by movement/targeting)
- Hull-specific destroy audio cues and vega buildings art

Wired behind `?movsim`'s Live/V2 toggle in `VegaCombatSim.js` — the live engine
and all real player battles are untouched.

Also fixes several latent bugs discovered during the rewrite:
- Trap 26: simultaneous wipe-out now checks draw before single-side wins
- Trap 27: movement is banked (two-phase) like damage
- Trap 28: weighted-random targeting tames chaotic nearest-neighbour sensitivity
- Trap 29: fleet gap clamped to 85% world width to prevent starvation
- Trap 30: `RANGE_EPS` tolerance prevents steering-induced standoffs

See `docs/mastervega-build-plan.md` for full design notes.
2026-08-09 12:36:01 -06:00
..
vega-build.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-close.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-destroy-battleship.mp3 feat(mastervega): add V2 per-ship combat prototype with continuous-time simulation 2026-08-09 12:36:01 -06:00
vega-destroy-cruiser.mp3 feat(mastervega): add V2 per-ship combat prototype with continuous-time simulation 2026-08-09 12:36:01 -06:00
vega-destroy-destroyer.mp3 feat(mastervega): add V2 per-ship combat prototype with continuous-time simulation 2026-08-09 12:36:01 -06:00
vega-destroy-friggate.mp3 feat(mastervega): add V2 per-ship combat prototype with continuous-time simulation 2026-08-09 12:36:01 -06:00
vega-endturn.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-missle-hit-67.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-missle-hit-12345.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-missle-launch-67.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-missle-launch-12345.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-newturn.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-select.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-star.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-unit.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-view.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-viewcolony.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-warp.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-weapon-45.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-weapon-67.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-weapon-123.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-zoomin.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00
vega-zoomout.mp3 feat(masterofvega): add combat SFX, cloak/singularity mechanics, and sound staggering 2026-08-09 07:57:41 -06:00