Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
strums light up lol
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github authored May 15, 2021
1 parent 477096f commit 6b809a9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 6b809a9

Please sign in to comment.