mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-21 20:39:52 -04:00
new highscore thingie
This commit is contained in:
parent
4eb1b5bb78
commit
182c7e3aa4
1 changed files with 12 additions and 0 deletions
|
@ -118,6 +118,14 @@ class ResultState extends MusicBeatSubstate
|
|||
scorePopin.visible = false;
|
||||
add(scorePopin);
|
||||
|
||||
var highscoreNew:FlxSprite = new FlxSprite(280, 580);
|
||||
highscoreNew.frames = Paths.getSparrowAtlas("resultScreen/highscoreNew");
|
||||
highscoreNew.animation.addByPrefix("new", "NEW HIGHSCORE", 24);
|
||||
highscoreNew.visible = false;
|
||||
highscoreNew.setGraphicSize(Std.int(highscoreNew.width * 0.8));
|
||||
highscoreNew.updateHitbox();
|
||||
add(highscoreNew);
|
||||
|
||||
var hStuf:Int = 50;
|
||||
|
||||
var ratingGrp:FlxTypedGroup<TallyCounter> = new FlxTypedGroup<TallyCounter>();
|
||||
|
@ -165,6 +173,10 @@ class ResultState extends MusicBeatSubstate
|
|||
{
|
||||
scorePopin.animation.play("score");
|
||||
scorePopin.visible = true;
|
||||
|
||||
highscoreNew.visible = true;
|
||||
highscoreNew.animation.play("new");
|
||||
FlxTween.tween(highscoreNew, {y: highscoreNew.y + 10}, 0.8, {ease: FlxEase.quartOut});
|
||||
};
|
||||
|
||||
boyfriend.animation.play('fall');
|
||||
|
|
Loading…
Reference in a new issue