strums light up lol

This commit is contained in:
Kade M 2021-05-15 13:14:25 -07:00 committed by GitHub
parent 477096f218
commit 6b809a9a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3115,6 +3115,14 @@ class PlayState extends MusicBeatState
if(!loadRep && note.mustPress)
saveNotes.push(HelperFunctions.truncateFloat(note.strumTime, 2));
playerStrums.forEach(function(spr:FlxSprite)
{
if (Math.abs(note.noteData) == spr.ID)
{
spr.animation.play('confirm', true);
}
});
note.wasGoodHit = true;
vocals.volume = 1;