Implement dynamic UI aspect ratio scaling, VERT+ and controller icons - #145
Merged
Conversation
Lots of stuff here, just pushing everything to keep my changes focused. Will take a cautionary glance at everything before a PR is considered. Unfinished work ahead!!
TODO: - Make the last two foreground arrows on the left slightly more opaque and fade out later. - Make the background arrows fade out first before the foreground starts fading.
Co-Authored-By: Skyth (Asilkan) <19259897+blueskythlikesclouds@users.noreply.github.com>
9 tasks
IsaacMarovitz
approved these changes
Sep 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR makes the UI scale dynamically to the viewport aspect ratio, allowing the game to be played at narrow or ultrawide aspect ratios without it stretching.
The UI Alignment Mode option can be used to change whether or not to keep the UI in 16:9 bounds or expand it to the edges of the viewport, much like Unleashed Recompiled.
As it's in the same ballpark, controller icon detection has also been implemented, allowing the text to display PlayStation icons, should you so choose. More work must be done to swap out the loading screen tips and voice lines, which is not in the scope for this PR.
This also fixes the radar being misaligned at resolutions higher than 1280x720 and implements VERT+ for narrow aspect ratios, allowing gameplay and cutscenes to scale properly.
Known issues:
TODOs (optional, may do later):
Screenshots (2560x1080)