Skip to content

Commit

Permalink
Play Animation Note
Browse files Browse the repository at this point in the history
  • Loading branch information
poec987 committed Jun 26, 2024
1 parent a2832a9 commit c94239a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file added assets/shared/images/noteTypes/Play Animation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/ChartingState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,8 @@ class ChartingState extends MusicBeatState

var noteTypes:Array<String> = [
"Normal",
// "Test",
"No Animation",
"Play Animation",
"Laugh",
"Kill Santa",
"Kill"
Expand Down
5 changes: 5 additions & 0 deletions source/PlayState.hx
Original file line number Diff line number Diff line change
Expand Up @@ -2505,6 +2505,11 @@ class PlayState extends MusicBeatState
// trace("Test Note POST HIT");
case "Laugh":
dad.animation.play('laugh', true);
case "Play Animation":
if (dadHit)
dad.animation.play(noteTypeParam, true);
else
boyfriend.animation.play(noteTypeParam, true);
case "Kill Santa":
santa.animation.play('DIE', true);
case "Kill":
Expand Down

0 comments on commit c94239a

Please sign in to comment.