mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-04-21 19:31:52 -04:00
fix miss animations
This commit is contained in:
parent
dc6686e095
commit
43682dd30d
2 changed files with 6 additions and 9 deletions
source
|
@ -78,7 +78,7 @@ class Note extends FlxSprite
|
|||
animation.play('redScroll');
|
||||
}
|
||||
|
||||
trace(prevNote);
|
||||
// trace(prevNote);
|
||||
|
||||
if (isSustainNote && prevNote != null)
|
||||
{
|
||||
|
|
|
@ -1037,13 +1037,13 @@ class PlayState extends MusicBeatState
|
|||
|
||||
switch (direction)
|
||||
{
|
||||
case 1:
|
||||
boyfriend.playAnim('singUPmiss', true);
|
||||
case 2:
|
||||
boyfriend.playAnim('singRIGHTmiss', true);
|
||||
boyfriend.playAnim('singUPmiss', true);
|
||||
case 3:
|
||||
boyfriend.playAnim('singRIGHTmiss', true);
|
||||
case 1:
|
||||
boyfriend.playAnim('singDOWNmiss', true);
|
||||
case 4:
|
||||
case 0:
|
||||
boyfriend.playAnim('singLEFTmiss', true);
|
||||
}
|
||||
}
|
||||
|
@ -1160,10 +1160,7 @@ class PlayState extends MusicBeatState
|
|||
|
||||
if (generatedMusic)
|
||||
{
|
||||
notes.forEachAlive(function(daNote:Note)
|
||||
{
|
||||
notes.sort(FlxSort.byY, FlxSort.DESCENDING);
|
||||
});
|
||||
notes.sort(FlxSort.byY, FlxSort.DESCENDING);
|
||||
}
|
||||
|
||||
if (camZooming && FlxG.camera.zoom < 1.35 && totalBeats % 4 == 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue