orbit/data
Brian Fertig ee2e874f41 Replace tether HUD with live mineral hold readout bar
- Add MineralHud component (js/ui/MineralHud.js) showing "MINERALS n / N"
  plus a fill bar in the upper-right corner, replacing the old tether
  stack. One tween drives both the counting number and the bar so they
  never drift; a cyan flash ripples on landings; amber at capacity.
- Wire Mining to emit an onOre(gained, hold) seam per extraction tick and
  per fragment landing so the HUD fills live as the rock shrinks, not
  only at the batch 'absorbed' event.
- Remove refreshTetherHud / fmtRange from GameScene; instantiate MineralHud
  in create(), feed it via refreshMineralHud() from ore seams and mining
  events, destroy on shutdown.
- Add data/mineralhud.json config (corner pad, bar geometry, count-up and
  flash tuning) and register it in the manifest.
- Tests: new dev/mineral-hud.test.mjs covering layout, count-up/bar sync,
  superseded-tween guard, capacity/clamping, teardown; extend
  dev/mining.test.mjs to assert onOre ticks; drop tether-HUD checks from
  dev/system-hud.test.mjs; add setOrigin/setScrollFactor no-ops to the
  Phaser stub.
2026-09-05 12:12:18 -06:00
..
actionbar.json Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
asteroids.json Add mining economy: rock shrink, split/shatter, and mineral hold 2026-09-05 11:18:35 -06:00
builds.json
galaxy.json
game.json
landing.json Add upper-left surface HUD showing planet name, type, and tether level 2026-09-04 23:23:41 -06:00
manifest.json Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
menu.json Add music system, UI SFX, and ship base stats 2026-09-05 10:10:18 -06:00
mineralhud.json Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
music.json Add music system, UI SFX, and ship base stats 2026-09-05 10:10:18 -06:00
naming.json
planets.json Add take-off clip to surface scene before resuming flight 2026-09-04 22:44:51 -06:00
reputation.json
research.json
save.json
scan.json Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
settlements.json
sfx.json Add mining economy: rock shrink, split/shatter, and mineral hold 2026-09-05 11:18:35 -06:00
ship.json Add mining economy: rock shrink, split/shatter, and mineral hold 2026-09-05 11:18:35 -06:00
signalCompass.json Add signal compass UI for scan-revealed undiscovered objects 2026-09-05 00:29:49 -06:00
stations.json
systems.json
tether.json
theme.json