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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user