fix miss animations
This commit is contained in:
parent
6c7d5b3f1b
commit
87286b68c0
@ -5,7 +5,7 @@ cd ..
|
|||||||
echo BUILDING GAME
|
echo BUILDING GAME
|
||||||
lime build html5 -debug
|
lime build html5 -debug
|
||||||
echo UPLOADING TO ITCH
|
echo UPLOADING TO ITCH
|
||||||
butler push ./export/release/html5/bin ninja-muffin24/funkin:html5
|
butler push ./export/debug/html5/bin ninja-muffin24/funkin:html5
|
||||||
butler status ninja-muffin24/funkin:html5
|
butler status ninja-muffin24/funkin:html5
|
||||||
echo ITCH SHIT UPDATED LMAOOOOO
|
echo ITCH SHIT UPDATED LMAOOOOO
|
||||||
pause
|
pause
|
@ -78,7 +78,7 @@ class Note extends FlxSprite
|
|||||||
animation.play('redScroll');
|
animation.play('redScroll');
|
||||||
}
|
}
|
||||||
|
|
||||||
trace(prevNote);
|
// trace(prevNote);
|
||||||
|
|
||||||
if (isSustainNote && prevNote != null)
|
if (isSustainNote && prevNote != null)
|
||||||
{
|
{
|
||||||
|
@ -1037,13 +1037,13 @@ class PlayState extends MusicBeatState
|
|||||||
|
|
||||||
switch (direction)
|
switch (direction)
|
||||||
{
|
{
|
||||||
case 1:
|
|
||||||
boyfriend.playAnim('singUPmiss', true);
|
|
||||||
case 2:
|
case 2:
|
||||||
boyfriend.playAnim('singRIGHTmiss', true);
|
boyfriend.playAnim('singUPmiss', true);
|
||||||
case 3:
|
case 3:
|
||||||
|
boyfriend.playAnim('singRIGHTmiss', true);
|
||||||
|
case 1:
|
||||||
boyfriend.playAnim('singDOWNmiss', true);
|
boyfriend.playAnim('singDOWNmiss', true);
|
||||||
case 4:
|
case 0:
|
||||||
boyfriend.playAnim('singLEFTmiss', true);
|
boyfriend.playAnim('singLEFTmiss', true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1159,11 +1159,8 @@ class PlayState extends MusicBeatState
|
|||||||
super.beatHit();
|
super.beatHit();
|
||||||
|
|
||||||
if (generatedMusic)
|
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)
|
if (camZooming && FlxG.camera.zoom < 1.35 && totalBeats % 4 == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user