[BUGFIX] Make PauseSubState texts tween from zero transparency

The name speaks for itself

Makes texts appear more beautiful (as in previous versions)
This commit is contained in:
PurSnake 2024-06-01 13:02:11 +03:00 committed by GitHub
parent 3b74a14a0d
commit 7aa29bbcf7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -313,6 +313,7 @@ class PauseSubState extends MusicBeatSubState
var delay:Float = 0.1;
for (child in metadata.members)
{
child.alpha = 0;
FlxTween.tween(child, {alpha: 1, y: child.y + 5}, 1.8, {ease: FlxEase.quartOut, startDelay: delay});
delay += 0.1;
}