ACNHRecomp
ACNHRecomp copied to clipboard
[Feature] HUD at the Screen Edges on Ultrawide
At 21:9 the clock and the minimap stay in the 16:9 middle. The NookPhone hint and the save icon already sit at the screen edges through the existing edge rule in nvn_ultrawide.cpp. docs/STATUS.md lists this as still missing ("ancorar a HUD nas bordas").
I have a working prototype:
- It finds the field HUD by pane name (
L_Clock_00,L_MapMini_00) and moves its top-level groups to the screen edges, like the existing edge rule does. - The game clamps its scissors to 1920, which cut off the minimap's island at the old 16:9 edge. Squeezed UI scissors that touch the 0 or 1920 edge are now opened to the target's edge.
The inventory, the NookPhone and a dialogue box look the same as before. Tested only on macOS (M5), 3.0.3, at 21:9.
Before I turn this into a PR:
- Do you want this, or is someone already on it?
- Is finding the HUD by pane name OK, or would you rather have it behind a setting?
- The scissor change applies to all squeezed UI draws. OK, or should it be limited to the HUD?
- The button hints ("B Close / A Select") stay at the 16:9 edge. Should they move too?
I used Claude Code (Opus 5.5) to help me with this.