Idea: the HUD and menus laid out for every screen shape, never stretched #64
Labels
No labels
accessibility
autorelease: pending
autorelease: tagged
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
needs measurements
question
testing wanted
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#64
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The idea
The HUD and menus laid out for every screen shape the Aspect ratio row offers (5:4, 4:3, 3:2, 16:10, 21:9, 32:9, 48:9), never stretched, as if the game had been made for that shape:
Prior work this builds on: Hookshot #2843 (ozwaldorf, open: "Extended" ultrawide menus, side panes moved out to the screen's edges at runtime, wide screens only) and #2015 (the HUD's vertical squeeze on narrower screens). The plan: carry #2843's planner over (credited), extend it to both axes so narrower screens anchor top and bottom, and add the cap.
Anything else
Claimed by llun (RTX 5080, Windows 11, 1920x1080 screen; other shapes checked with the game's own screenshots at those output sizes, headless). Before and after shots at every shape will be on the pull request.
Pull request: #95. The HUD keeps its 16:9 size on every shape and sits at the screen's edges, with no new setting: on narrower screens its sides move in (below 3:2 it shrinks a little), on wider ones they move out up to 12:5's sides (32:9), and 48:9 keeps it on the middle screen. Menus fit a narrower screen's width instead of stretching. It builds on ozwaldorf's planner from https://github.com/NotRexed/Hookshot/pull/2843 (credited). Before and after screenshots for every shape are on the PR.