1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-04 13:54:22 +00:00

true perfect

This commit is contained in:
Cameron Taylor 2023-04-19 04:08:03 -04:00
parent b4468a45c3
commit 6fe747eac1

View file

@ -63,6 +63,10 @@ class ResultState extends MusicBeatSubstate
bfGfExcellent.visible = false; bfGfExcellent.visible = false;
add(bfGfExcellent); add(bfGfExcellent);
var bfPerfect:FlxAtlasSprite = new FlxAtlasSprite(370, -180, Paths.animateAtlas("resultScreen/resultsBoyfriendPerfect", "shared"));
bfPerfect.visible = false;
add(bfPerfect);
var bfSHIT:FlxAtlasSprite = new FlxAtlasSprite(0, 20, Paths.animateAtlas("resultScreen/resultsBoyfriendSHIT", "shared")); var bfSHIT:FlxAtlasSprite = new FlxAtlasSprite(0, 20, Paths.animateAtlas("resultScreen/resultsBoyfriendSHIT", "shared"));
bfSHIT.visible = false; bfSHIT.visible = false;
add(bfSHIT); add(bfSHIT);
@ -77,6 +81,10 @@ class ResultState extends MusicBeatSubstate
bfGfExcellent.anim.play(); // unpauses this anim, since it's on PlayOnce! bfGfExcellent.anim.play(); // unpauses this anim, since it's on PlayOnce!
bfSHIT.anim.curFrame = 150; bfSHIT.anim.curFrame = 150;
bfSHIT.anim.play(); // unpauses this anim, since it's on PlayOnce! bfSHIT.anim.play(); // unpauses this anim, since it's on PlayOnce!
bfPerfect.anim.curFrame = 136;
bfPerfect.anim.play(); // unpauses this anim, since it's on PlayOnce!
trace("repeated anim!!"); trace("repeated anim!!");
}, },
ShowPivot: false, ShowPivot: false,
@ -87,6 +95,7 @@ class ResultState extends MusicBeatSubstate
bfGfExcellent.setTheSettings(settings); bfGfExcellent.setTheSettings(settings);
bfSHIT.setTheSettings(settings); bfSHIT.setTheSettings(settings);
bfPerfect.setTheSettings(settings);
var gf:FlxSprite = new FlxSprite(500, 300); var gf:FlxSprite = new FlxSprite(500, 300);
gf.frames = Paths.getSparrowAtlas('resultScreen/resultGirlfriendGOOD'); gf.frames = Paths.getSparrowAtlas('resultScreen/resultGirlfriendGOOD');
@ -274,8 +283,11 @@ class ResultState extends MusicBeatSubstate
gf.visible = true; gf.visible = true;
}); });
case PERFECT: case PERFECT:
bfGfExcellent.visible = true; bfPerfect.visible = true;
bfGfExcellent.playAnimation(""); bfPerfect.playAnimation("");
// bfGfExcellent.visible = true;
// bfGfExcellent.playAnimation("");
default: default:
} }
}); });
@ -363,6 +375,7 @@ class ResultState extends MusicBeatSubstate
enum abstract ResultVariations(String) enum abstract ResultVariations(String)
{ {
var PERFECT; var PERFECT;
var EXCELLENT;
var NORMAL; var NORMAL;
var SHIT; var SHIT;
} }