mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-11-25 21:55:55 +00:00
fabs code stuff and difficulty fixin
This commit is contained in:
parent
8c4709c25e
commit
e12a48b6fc
2
assets
2
assets
|
|
@ -1 +1 @@
|
||||||
Subproject commit f7c418c52f38769daf56521ee801df699ae5435b
|
Subproject commit 3766c3b6709f043e63d8eae66887159975891073
|
||||||
|
|
@ -174,7 +174,6 @@ class ResultState extends MusicBeatSubState
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
bfPerfect = new FlxAtlasSprite(1342, 370, Paths.animateAtlas("resultScreen/results-bf/resultsPERFECT", "shared"));
|
bfPerfect = new FlxAtlasSprite(1342, 370, Paths.animateAtlas("resultScreen/results-bf/resultsPERFECT", "shared"));
|
||||||
bfPerfect.visible = false;
|
bfPerfect.visible = false;
|
||||||
bfPerfect.zIndex = 500;
|
bfPerfect.zIndex = 500;
|
||||||
|
|
@ -203,7 +202,6 @@ class ResultState extends MusicBeatSubState
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
case GREAT:
|
case GREAT:
|
||||||
gfGreat = new FlxAtlasSprite(802, 331, Paths.animateAtlas("resultScreen/results-bf/resultsGREAT/gf", "shared"));
|
gfGreat = new FlxAtlasSprite(802, 331, Paths.animateAtlas("resultScreen/results-bf/resultsGREAT/gf", "shared"));
|
||||||
gfGreat.visible = false;
|
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));
|
difficulty.loadGraphic(Paths.image("resultScreen/" + diffSpr));
|
||||||
add(difficulty);
|
add(difficulty);
|
||||||
|
|
||||||
|
|
@ -322,9 +320,7 @@ class ResultState extends MusicBeatSubState
|
||||||
new FlxTimer().start(36 / 24, _ -> {
|
new FlxTimer().start(36 / 24, _ -> {
|
||||||
scorePopin.visible = true;
|
scorePopin.visible = true;
|
||||||
scorePopin.animation.play("score");
|
scorePopin.animation.play("score");
|
||||||
scorePopin.animation.finishCallback = anim -> {
|
scorePopin.animation.finishCallback = anim -> {};
|
||||||
|
|
||||||
};
|
|
||||||
});
|
});
|
||||||
|
|
||||||
new FlxTimer().start(37 / 24, _ -> {
|
new FlxTimer().start(37 / 24, _ -> {
|
||||||
|
|
@ -411,7 +407,6 @@ class ResultState extends MusicBeatSubState
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// if (params.isNewHighscore ?? false)
|
// if (params.isNewHighscore ?? false)
|
||||||
// {
|
// {
|
||||||
// highscoreNew.visible = true;
|
// highscoreNew.visible = true;
|
||||||
|
|
@ -569,7 +564,6 @@ class ResultState extends MusicBeatSubState
|
||||||
rankTextVert.velocity.y = -80;
|
rankTextVert.velocity.y = -80;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
for (i in 0...12)
|
for (i in 0...12)
|
||||||
{
|
{
|
||||||
var rankTextBack:FlxBackdrop = new FlxBackdrop(Paths.image(rank.getHorTextAsset()), X, 10, 0);
|
var rankTextBack:FlxBackdrop = new FlxBackdrop(Paths.image(rank.getHorTextAsset()), X, 10, 0);
|
||||||
|
|
@ -589,7 +583,6 @@ class ResultState extends MusicBeatSubState
|
||||||
|
|
||||||
function afterRankTallySequence():Void
|
function afterRankTallySequence():Void
|
||||||
{
|
{
|
||||||
|
|
||||||
showSmallClearPercent();
|
showSmallClearPercent();
|
||||||
|
|
||||||
switch (rank)
|
switch (rank)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue