Made more menus adapted to wide-screens & fixed some bugs

* Made stuff on the edge of the screen get moved away by the notch
* Made FreeplayState look better on wide-screens
* Adapted StoryMenuState to wide-screens
* Fixed the transition being small on some screen sizes
* refactored some code
This commit is contained in:
KarimAkra
2025-04-15 21:37:06 +03:00
parent 7b1abe437f
commit 9cf134fc2a
15 changed files with 448 additions and 230 deletions
@@ -90,6 +90,11 @@ class IntroSubState extends MusicBeatSubState
{
vid.zIndex = 0;
vid.bitmap.onEndReached.add(onLightsEnd);
vid.bitmap.onFormatSetup.add(() -> {
vid.setGraphicSize(FlxG.initialWidth, FlxG.initialHeight);
vid.updateHitbox();
vid.screenCenter();
});
add(vid);
if (vid.load(filePath)) vid.play();