new stuff
This commit is contained in:
@@ -47,6 +47,8 @@ class Script extends FlxBasic implements IFlxDestroyable {
|
||||
"FlxTypeText" => flixel.addons.text.FlxTypeText,
|
||||
"FlxText" => flixel.text.FlxText,
|
||||
"FlxTimer" => flixel.util.FlxTimer,
|
||||
"FlxPoint" => CoolUtil.getMacroAbstractClass("flixel.math.FlxPoint"),
|
||||
"FlxAxes" => CoolUtil.getMacroAbstractClass("flixel.util.FlxAxes"),
|
||||
|
||||
// Engine related stuff
|
||||
"engine" => {
|
||||
@@ -57,6 +59,8 @@ class Script extends FlxBasic implements IFlxDestroyable {
|
||||
"ModSubState" => funkin.scripting.ModSubState,
|
||||
"PlayState" => funkin.game.PlayState,
|
||||
"GameOverSubstate" => funkin.game.GameOverSubstate,
|
||||
"HealthIcon" => funkin.game.HealthIcon,
|
||||
"HudCamera" => funkin.game.HudCamera,
|
||||
"Note" => funkin.game.Note,
|
||||
"Strum" => funkin.game.Strum,
|
||||
"Character" => funkin.game.Character,
|
||||
|
||||
@@ -42,22 +42,32 @@ class PlayAnimEvent extends CancellableEvent {
|
||||
@:enum
|
||||
abstract PlayAnimContext(String) {
|
||||
/**
|
||||
No context was given for the animation
|
||||
No context was given for the animation.
|
||||
The character won't dance until the animation is finished
|
||||
**/
|
||||
var NONE = null;
|
||||
|
||||
/**
|
||||
Whenever a note is hit and a sing animation will be played.
|
||||
The character will only dance after their holdTime is reached.
|
||||
**/
|
||||
var SING = "SING";
|
||||
|
||||
/**
|
||||
Whenever a dance animation is played.
|
||||
The character's dancing wont be blocked.
|
||||
**/
|
||||
var DANCE = "DANCE";
|
||||
|
||||
/**
|
||||
Whenever a note is missed and a miss animation will be played.
|
||||
Only for scripting, since it has the same effects as SING.
|
||||
**/
|
||||
var MISS = "MISS";
|
||||
|
||||
/**
|
||||
Locks the character's animation.
|
||||
Prevents the character from dancing, even if the animation ended.
|
||||
**/
|
||||
var LOCK = "LOCK";
|
||||
}
|
||||
Reference in New Issue
Block a user