mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-27 01:55:52 -05:00
gf shit fix
This commit is contained in:
parent
6fe747eac1
commit
e802aa885b
1 changed files with 13 additions and 24 deletions
|
@ -28,7 +28,7 @@ class ResultState extends MusicBeatSubstate
|
||||||
var maskShaderSongName = new LeftMaskShader();
|
var maskShaderSongName = new LeftMaskShader();
|
||||||
var maskShaderDifficulty = new LeftMaskShader();
|
var maskShaderDifficulty = new LeftMaskShader();
|
||||||
|
|
||||||
override function create()
|
override function create():Void
|
||||||
{
|
{
|
||||||
if (Highscore.tallies.sick == Highscore.tallies.totalNotesHit
|
if (Highscore.tallies.sick == Highscore.tallies.totalNotesHit
|
||||||
&& Highscore.tallies.maxCombo == Highscore.tallies.totalNotesHit) resultsVariation = PERFECT;
|
&& Highscore.tallies.maxCombo == Highscore.tallies.totalNotesHit) resultsVariation = PERFECT;
|
||||||
|
@ -71,31 +71,20 @@ class ResultState extends MusicBeatSubstate
|
||||||
bfSHIT.visible = false;
|
bfSHIT.visible = false;
|
||||||
add(bfSHIT);
|
add(bfSHIT);
|
||||||
|
|
||||||
var settings:Settings =
|
bfGfExcellent.anim.onComplete = () -> {
|
||||||
{
|
bfGfExcellent.anim.curFrame = 28;
|
||||||
// ?ButtonSettings:Map<String, flxanimate.animate.FlxAnim.ButtonSettings>,
|
bfGfExcellent.anim.play(); // unpauses this anim, since it's on PlayOnce!
|
||||||
FrameRate: 24.0,
|
};
|
||||||
Reversed: false,
|
|
||||||
OnComplete: function() {
|
|
||||||
bfGfExcellent.anim.curFrame = 28;
|
|
||||||
bfGfExcellent.anim.play(); // unpauses this anim, since it's on PlayOnce!
|
|
||||||
bfSHIT.anim.curFrame = 150;
|
|
||||||
bfSHIT.anim.play(); // unpauses this anim, since it's on PlayOnce!
|
|
||||||
|
|
||||||
bfPerfect.anim.curFrame = 136;
|
bfPerfect.anim.onComplete = () -> {
|
||||||
bfPerfect.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!!");
|
bfSHIT.anim.onComplete = () -> {
|
||||||
},
|
bfSHIT.anim.curFrame = 150;
|
||||||
ShowPivot: false,
|
bfSHIT.anim.play(); // unpauses this anim, since it's on PlayOnce!
|
||||||
Antialiasing: true,
|
};
|
||||||
ScrollFactor: new FlxPoint(1, 1),
|
|
||||||
// Offset: new FlxPoint(0, 0), // This is just FlxSprite.offset
|
|
||||||
};
|
|
||||||
|
|
||||||
bfGfExcellent.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');
|
||||||
|
|
Loading…
Reference in a new issue