mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 16:17:53 -05:00
anim swapping easier
This commit is contained in:
parent
52b0f17ac7
commit
accbae3c80
1 changed files with 17 additions and 0 deletions
|
@ -182,6 +182,7 @@ class DebugBoundingState extends FlxState
|
||||||
spriteSheetView.visible = true;
|
spriteSheetView.visible = true;
|
||||||
case OFFSETSHIT:
|
case OFFSETSHIT:
|
||||||
spriteSheetView.visible = false;
|
spriteSheetView.visible = false;
|
||||||
|
offsetControls();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if (charInput.hasFocus && FlxG.keys.justPressed.ENTER)
|
/* if (charInput.hasFocus && FlxG.keys.justPressed.ENTER)
|
||||||
|
@ -200,6 +201,22 @@ class DebugBoundingState extends FlxState
|
||||||
super.update(elapsed);
|
super.update(elapsed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function offsetControls():Void
|
||||||
|
{
|
||||||
|
if (FlxG.keys.justPressed.RBRACKET)
|
||||||
|
{
|
||||||
|
if (Std.parseInt(animDropDownMenu.selectedId) + 1 < animDropDownMenu.length)
|
||||||
|
animDropDownMenu.selectedId = Std.string(Std.parseInt(animDropDownMenu.selectedId) + 1);
|
||||||
|
animDropDownMenu.callback(animDropDownMenu.selectedId);
|
||||||
|
}
|
||||||
|
if (FlxG.keys.justPressed.LBRACKET)
|
||||||
|
{
|
||||||
|
if (Std.parseInt(animDropDownMenu.selectedId) - 1 >= 0)
|
||||||
|
animDropDownMenu.selectedId = Std.string(Std.parseInt(animDropDownMenu.selectedId) - 1);
|
||||||
|
animDropDownMenu.callback(animDropDownMenu.selectedId);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
var swagChar:Character;
|
var swagChar:Character;
|
||||||
|
|
||||||
function loadAnimShit(char:String)
|
function loadAnimShit(char:String)
|
||||||
|
|
Loading…
Reference in a new issue