wow short shower
This commit is contained in:
@@ -10,7 +10,7 @@ class CharacterAnimButton extends UIButton {
|
||||
this.anim = anim;
|
||||
super(x,y, '$anim (${offset.x}, ${offset.y})', function () {
|
||||
CharacterEditor.instance.playAnimation(this.anim);
|
||||
}, Std.int(500-32));
|
||||
}, Std.int(500-16));
|
||||
autoAlpha = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -2,6 +2,13 @@ package funkin.editors.character;
|
||||
|
||||
class CharacterAnimsWindow extends UIButtonList<CharacterAnimButton> {
|
||||
public function new(x:Float, y:Float, animations:Array<String>) {
|
||||
super(x, y, Std.int(500-16), 300, "Character Animations", FlxPoint.get(500-16, 32));
|
||||
super(x, y, Std.int(500-16), 419, "", FlxPoint.get(500-16, 32));
|
||||
|
||||
cameraSpacing = 0;
|
||||
frames = Paths.getFrames('editors/ui/inputbox');
|
||||
|
||||
for (anim in animations)
|
||||
add(new CharacterAnimButton(0,0, anim, FlxPoint.get()));
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user