turnstates

This commit is contained in:
the me 2022-08-19 10:19:08 -07:00
parent 1a13781220
commit cd85677efd
57 changed files with 1813 additions and 104 deletions

View file

@ -0,0 +1,15 @@
function textbox_create(textscript=txt_test, style=global.textdefault, advancable=true) {
instance_destroy(o_textbox);
var chump = instance_create(style.x, style.y, o_textbox);
chump.width = style.width;
chump.height = style.height;
chump.spriteposx = style.spriteposx;
chump.spriteposy = style.spriteposy;
chump.advance = advancable;
chump.msgscript = textscript;
chump.sprite_index = style.sprite;
chump.texttype = style.type;
chump.font = style.font;
chump.style = style;
return chump;
}

View file

@ -0,0 +1,12 @@
{
"isDnD": false,
"isCompatibility": false,
"parent": {
"name": "Scripts",
"path": "folders/Scripts.yy",
},
"resourceVersion": "1.0",
"name": "textbox_create",
"tags": [],
"resourceType": "GMScript",
}