-
Notifications
You must be signed in to change notification settings - Fork 196
Events
Wizard edited this page Aug 23, 2023
·
36 revisions
Events called through functions, should be simple? i think idk man i'm not even close to done writing all this lmaoo
NOTE: all events can be cancelled by using event.cancel();
EXCEPT for when you are using function onGetCamPos()
.
Argument | Type | Description |
---|---|---|
amount | Int | Amount lmao |
Argument | Type | Description |
---|---|---|
position | FlxPoint | Final camera position. |
strumLine | StrumLine | Currently focused strumline. |
focusedCharacters | Int | Number of focused characters. |
Argument | Type | Description |
---|---|---|
swagCounter | int | At which count the countdown is. Normally goes 0-1-2-3-4 unless PlayState.instance.introLength is changed. |
volume | float | Volume at which the intro countdown sound will play. |
soundPath | string | Path of the intro sound that'll be played. |
spritePath | string | Path to the sprite path that'll be shown. |
scale | float | Scale of the sprite. |
antialiasing | bool | Whenever antialiasing is enabled or not. |
sprite | FlxSprite | Created sprite, only available in onPostCountdown . |
spriteTween | FlxTween | Created tween for the sprite, only available in onPostCountdown . |
sound | FlxSound | Created sound, only available in onPostCountdown . |
unfinished obv lmao