mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-26 00:35:11 +00:00
variation and hmm fix
This commit is contained in:
parent
f411cdac88
commit
c2e340ef19
2
hmm.json
2
hmm.json
|
@ -30,7 +30,7 @@
|
|||
"name": "flxanimate",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "6bc8992",
|
||||
"ref": "a8976ff",
|
||||
"url": "https://github.com/ninjamuffin99/flxanimate"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -232,21 +232,21 @@ class ResultState extends MusicBeatSubstate
|
|||
FlxTween.tween(highscoreNew, {y: highscoreNew.y + 10}, 0.8, {ease: FlxEase.quartOut});
|
||||
};
|
||||
|
||||
if (false)
|
||||
switch (resultsVariation)
|
||||
{
|
||||
boyfriend.animation.play('fall');
|
||||
boyfriend.visible = true;
|
||||
case NORMAL:
|
||||
boyfriend.animation.play('fall');
|
||||
boyfriend.visible = true;
|
||||
|
||||
new FlxTimer().start((1 / 24) * 22, _ -> {
|
||||
// plays about 22 frames (at 24fps timing) after bf spawns in
|
||||
gf.animation.play('clap', true);
|
||||
gf.visible = true;
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
bfGfExcellent.visible = true;
|
||||
bfGfExcellent.playAnimation("");
|
||||
new FlxTimer().start((1 / 24) * 22, _ -> {
|
||||
// plays about 22 frames (at 24fps timing) after bf spawns in
|
||||
gf.animation.play('clap', true);
|
||||
gf.visible = true;
|
||||
});
|
||||
case PERFECT:
|
||||
bfGfExcellent.visible = true;
|
||||
bfGfExcellent.playAnimation("");
|
||||
default:
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue