fix: ResultsState - Start with song name hidden until the top bar shows up
Co-authored-by: Trayfellow <48515908+trayfellow@users.noreply.github.com>
This commit is contained in:
committed by
Hundrec
co-authored by
Trayfellow
parent
3544a36de0
commit
32ef5404d8
@@ -139,6 +139,7 @@ class ResultState extends MusicBeatSubState
|
||||
songName.letterSpacing = -15;
|
||||
songName.angle = -4.4;
|
||||
songName.zIndex = 1000;
|
||||
songName.visible = false;
|
||||
|
||||
difficulty = new FlxSprite(555 + FullScreenScaleMode.gameNotchSize.x);
|
||||
difficulty.zIndex = 1000;
|
||||
@@ -343,7 +344,7 @@ class ResultState extends MusicBeatSubState
|
||||
|
||||
blackTopBar.loadGraphic(funkin.util.BitmapUtil.createResultsBar());
|
||||
blackTopBar.y = -blackTopBar.height;
|
||||
FlxTween.tween(blackTopBar, {y: 0}, 7 / 24, {ease: FlxEase.quartOut, startDelay: 3 / 24});
|
||||
FlxTween.tween(blackTopBar, {y: 0}, 7 / 24, {ease: FlxEase.quartOut, startDelay: 3 / 24, onComplete: _ -> songName.visible = true});
|
||||
blackTopBar.zIndex = 1010;
|
||||
add(blackTopBar);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user