-
Notifications
You must be signed in to change notification settings - Fork 7
Haxe Script API: Event Callbacks
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.
Is the page in some way inaccurate? an error, a typo, or outdated data? To report it, use the "Issue Tab". Or do you wish to include a new function or add new information? use the "Pull Request Tab". Help is always appreciated!
- Event Callbacks
- Custom Sprite
- Custom Text
- Object Functions
- General Functions
- Scripting & File Functions
- Game Input Control Functions
- Language Translation
- HScript Functions
- Custom Substates
- Custom Shaders
- Deprecated & Removed Functions
- Sound & Music Functions
- Tweens & Timers Functions
- Reflection Functions
- Variables