2.1 KiB
2.1 KiB
HUD composition GREEN report
Delivered
- Rebuilt the responsive 1920×1080 HUD artboard around the supplied mockup proportions:
- 16px shell margin; top bar at
y=12, 76px tall; - left/right rails at 460px (23.96% each), central
PlayAreaFrameat 924px (48.13%) and exactly centred; - body rails from
y=98to940; command bar aty=956, 108px tall.
- 16px shell margin; top bar at
- Added opaque
PlayAreaMaskTop,PlayAreaMaskLeft,PlayAreaMaskRight, andPlayAreaMaskBottom. They exactly partition the artboard outside the central frame and precede the chrome in the scene draw order. - Added visible, dark-fantasy gold/charcoal section panels and titles:
PERSONNAGE,OBJECTIFS,ÉTAT,JOURNAL,CARTE. - Retained legacy HUD node paths and moved their live visual rectangles into appropriate named sections. In normal state the journal and minimap have separate vertical sections; log expansion consumes only the map area by design.
- Placed minimap strictly in
MapSection; its caption is nowCARTE — TAB. - Replaced the remaining local blue panel/gauge treatments with charcoal-and-gold styles.
- Decoupled the architecture test from
Camera2D.get_viewport()dimensions. The correct observable contract is the four opaque masks plus a PlayAreaFrame centred on the camera/viewport focal point; aCamera2Dcannot own a separate Godot viewport.
Verification
- Targeted HUD/display GUT: 21/21 passed (492 assertions).
- Targeted visual-readability E2E: 2/2 passed (78 assertions).
- Full unit suite: 228/228 passed (34,775 assertions).
- Full E2E suite: 79/79 passed (723 assertions).
git diff --check: passed.
Visual review handoff (not an acceptance claim)
./scripts/run-visual-check.sh was run and produced captures at:
artifacts/visual-check.pngartifacts/visual-check-exit.pngartifacts/visual-check-compact.png
The existing legacy pixel validator failed its exit-capture explored-terrain measurement because it measures the former broad centre region rather than the newly masked PlayAreaFrame. The captures exist for parent visual review; this report deliberately makes no claim that the visual result is acceptable.