interface GlobalScript
package scripting
A global script is a special kind of script that runs on everywhere on your mod: menus, game, etc...
To create one, go to data and create a script named "global", then press F5 in game to hot reload.
All flixel signals are automatically binded, as shown below.
Methods
gameResized(width:Int, height:Int):Void
Called whenever the game loses focus.
Parameters:
width | Width of the game |
---|---|
height | Height of the game |
postUpdate(elapsed:Float):Void
Called after the game has been updated.
Aliases: postUpdate
Parameters:
elapsed | Time elapsed since last frame |
---|