orbit/dev
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
..
asteroids.test.mjs
cdp-eval.mjs
cdp-firefox.mjs
cdpshot.mjs
clickout-test.html
clickout-test.mjs
comms-click.html Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
comms-click.mjs Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
comms-shot.html Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
comms-shot.mjs Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
decode.test.mjs
discovery.test.mjs
galaxy.test.mjs
landing-click.html Add SurfaceScene with landing video and surface deck 2026-09-04 21:25:44 -06:00
landing-click.mjs Add SurfaceScene with landing video and surface deck 2026-09-04 21:25:44 -06:00
mineral-hud.test.mjs Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
mining-test.html
mining-test.mjs Add ship state machine and let movement break the mining sequence 2026-09-04 18:06:33 -06:00
mining.test.mjs Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
music.test.mjs Add music system, UI SFX, and ship base stats 2026-09-05 10:10:18 -06:00
phaser-loader.mjs Add mining economy: rock shrink, split/shatter, and mineral hold 2026-09-05 11:18:35 -06:00
phaser-stub.mjs Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
planet.test.mjs
popup-shot.html
popup-shot.mjs
reputation.test.mjs Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
research-builds.test.mjs Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
saves-ui-test.html
saves-ui-test.mjs
saves.test.mjs Add mining economy: rock shrink, split/shatter, and mineral hold 2026-09-05 11:18:35 -06:00
scan-test.html Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
scan-test.mjs Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
scan.test.mjs Add deep-scan sonar pulse replacing the Build action button 2026-09-05 00:29:17 -06:00
sfx.test.mjs Add music system, UI SFX, and ship base stats 2026-09-05 10:10:18 -06:00
ship-behavior.test.mjs Add music system, UI SFX, and ship base stats 2026-09-05 10:10:18 -06:00
shot-firefox.mjs Add SurfaceScene with landing video and surface deck 2026-09-04 21:25:44 -06:00
signal-compass-flow.html Add signal compass UI for scan-revealed undiscovered objects 2026-09-05 00:29:49 -06:00
signal-compass-flow.mjs Add signal compass UI for scan-revealed undiscovered objects 2026-09-05 00:29:49 -06:00
signal-compass.test.mjs Add signal compass UI for scan-revealed undiscovered objects 2026-09-05 00:29:49 -06:00
smoke-game.mjs
starfield.test.mjs
surface-flow.mjs Add take-off clip to surface scene before resuming flight 2026-09-04 22:44:51 -06:00
surface-hud-shot.html Add upper-left surface HUD showing planet name, type, and tether level 2026-09-04 23:23:41 -06:00
surface-hud-shot.mjs Add upper-left surface HUD showing planet name, type, and tether level 2026-09-04 23:23:41 -06:00
surface-hud.html Add upper-left surface HUD showing planet name, type, and tether level 2026-09-04 23:23:41 -06:00
surface-hud.mjs Add upper-left surface HUD showing planet name, type, and tether level 2026-09-04 23:23:41 -06:00
surface-shot.html Add SurfaceScene with landing video and surface deck 2026-09-04 21:25:44 -06:00
surface-shot.mjs Add take-off clip to surface scene before resuming flight 2026-09-04 22:44:51 -06:00
surface-test.html Add SurfaceScene with landing video and surface deck 2026-09-04 21:25:44 -06:00
system-hud.test.mjs Replace tether HUD with live mineral hold readout bar 2026-09-05 12:12:18 -06:00
test-game.html
tether.test.mjs
wdshot.mjs Add comms panel and free-space station entities 2026-09-04 19:45:12 -06:00
zorder-test.html
zorder-test.mjs