fabs code stuff and difficulty fixin

This commit is contained in:
Cameron Taylor 2024-06-03 18:18:33 -04:00
parent 8c4709c25e
commit e12a48b6fc
2 changed files with 59 additions and 66 deletions

2
assets

@ -1 +1 @@
Subproject commit f7c418c52f38769daf56521ee801df699ae5435b
Subproject commit 3766c3b6709f043e63d8eae66887159975891073

View file

@ -174,7 +174,6 @@ class ResultState extends MusicBeatSubState
}
};
bfPerfect = new FlxAtlasSprite(1342, 370, Paths.animateAtlas("resultScreen/results-bf/resultsPERFECT", "shared"));
bfPerfect.visible = false;
bfPerfect.zIndex = 500;
@ -203,7 +202,6 @@ class ResultState extends MusicBeatSubState
}
};
case GREAT:
gfGreat = new FlxAtlasSprite(802, 331, Paths.animateAtlas("resultScreen/results-bf/resultsGREAT/gf", "shared"));
gfGreat.visible = false;
@ -273,7 +271,7 @@ class ResultState extends MusicBeatSubState
});
}
var diffSpr:String = 'dif${params?.difficultyId ?? 'Normal'}';
var diffSpr:String = 'diff_${params?.difficultyId ?? 'Normal'}';
difficulty.loadGraphic(Paths.image("resultScreen/" + diffSpr));
add(difficulty);
@ -322,9 +320,7 @@ class ResultState extends MusicBeatSubState
new FlxTimer().start(36 / 24, _ -> {
scorePopin.visible = true;
scorePopin.animation.play("score");
scorePopin.animation.finishCallback = anim -> {
};
scorePopin.animation.finishCallback = anim -> {};
});
new FlxTimer().start(37 / 24, _ -> {
@ -411,7 +407,6 @@ class ResultState extends MusicBeatSubState
});
}
// if (params.isNewHighscore ?? false)
// {
// highscoreNew.visible = true;
@ -569,7 +564,6 @@ class ResultState extends MusicBeatSubState
rankTextVert.velocity.y = -80;
});
for (i in 0...12)
{
var rankTextBack:FlxBackdrop = new FlxBackdrop(Paths.image(rank.getHorTextAsset()), X, 10, 0);
@ -589,7 +583,6 @@ class ResultState extends MusicBeatSubState
function afterRankTallySequence():Void
{
showSmallClearPercent();
switch (rank)