Skip to content

Implement dynamic movie aspect ratio#130

Merged
IsaacMarovitz merged 4 commits into
sonicnext-dev:mainfrom
hyperbx:movie-aspect-ratio
Aug 23, 2025
Merged

Implement dynamic movie aspect ratio#130
IsaacMarovitz merged 4 commits into
sonicnext-dev:mainfrom
hyperbx:movie-aspect-ratio

Conversation

@hyperbx

@hyperbx hyperbx commented Aug 22, 2025

Copy link
Copy Markdown
Collaborator

Allows pre-rendered movies to adjust their aspect ratio to the viewport dynamically.

The title screen movie has a special case that allows it to crop at narrow aspect ratios. The rest of the movies will pillarbox or letterbox, bar the staff roll movies that are corrected within their own dimensions.

UI scaling is not handled in this PR, ignore any stretching there.

2560x1080 (21:9)

image image

1440x900 (16:10)

image image

1280x960 (4:3)

image image

@hyperbx
hyperbx force-pushed the movie-aspect-ratio branch from 0d9a675 to 2382bca Compare August 22, 2025 02:13
@hyperbx
hyperbx marked this pull request as draft August 22, 2025 02:25
@hyperbx
hyperbx marked this pull request as ready for review August 22, 2025 19:07
Comment thread MarathonRecomp/patches/aspect_ratio_patches.cpp Outdated
Comment thread MarathonRecomp/patches/aspect_ratio_patches.cpp Outdated
@hyperbx
hyperbx marked this pull request as draft August 22, 2025 19:40
@hyperbx
hyperbx marked this pull request as ready for review August 22, 2025 20:00
@IsaacMarovitz
IsaacMarovitz merged commit 5abe6e4 into sonicnext-dev:main Aug 23, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants