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 Add asteroid mining: energy arm, beam FX, and context menu 2026-09-04 17:09:16 -06:00
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 Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
planets.json Add take-off clip to surface scene before resuming flight 2026-09-04 22:44:51 -06:00
reputation.json Add reputation data layer with stable place identity 2026-09-04 18:37:44 -06:00
research.json
…
save.json Add save/load system with 10-slot localStorage bank and UI 2026-09-04 13:09:08 -06:00
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 Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
systems.json
…
tether.json Add the tether: the player's range, a level-1 zone (5120 px) with a glitchy barrier rim 2026-09-03 22:03:29 -06:00
theme.json
…