Pixel-Composer/objects/o_dialog_animation/Create_0.gml
2022-01-13 11:24:03 +07:00

25 lines
502 B
Plaintext

/// @description init
event_inherited();
#region data
anchor = ANCHOR.right | ANCHOR.bottom;
dialog_w = 368;
dialog_h = 188;
destroy_on_click_out = true;
#endregion
#region data
tb_length = new textBox(TEXTBOX_INPUT.number, function(str) {
ANIMATOR.frames_total = real(str);
})
tb_framerate = new textBox(TEXTBOX_INPUT.number, function(str) {
ANIMATOR.framerate = real(str);
})
eb_playback = buttonGroup(["Loop", "Stop"], function(b) {
ANIMATOR.playback = b;
});
#endregion