Haxe Script API: Event Callbacks - Meme1079/PsychWiki GitHub Wiki
Note
In HScript, some event callback parameters, have been altered to either be added or removed completely. This pages is just to list of altered event callbacks that are only exclusive to HScript in general.
Triggeres every countdown tick until it ended.
-
tick
- The current countdown counter tick in words, will go fromTHREE
,TWO
,ONE
, toSTART
. -
counter
- The current counter tick number, will go from4
to0
.
Example:
function onCountdownStarted(tick:Countdown, counter:Int) {
debugPrint('Counter Tick: ' + tick ' = ' + counter);
}
Counter Tick: 0 = THREE
Counter Tick: 1 = TWO
Counter Tick: 2 = ONE
Counter Tick: 3 = GO
Counter Tick: 4 = START
Triggers every note spawning currently in the game.
-
note
- The Note class containing instance variables to manipulate the note's property values.
Triggers every good note hit from the player.
-
note
- The Note class containing instance variables to manipulate the note's property values.
Triggers every good note hit from the opponent.
-
note
- The Note class containing instance variables to manipulate the note's property values.
Triggers before every good note hit calculation from the player.
-
note
- The Note class containing instance variables to manipulate the note's property values.
Triggers before every good note hit calculation from the opponent.
-
note
- The Note class containing instance variables to manipulate the note's property values.
Triggers every note miss from the player.
-
note
- The Note class containing instance variables to manipulate the note's property values.