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,16 @@
function chardata(name_="drip", sprite_=s_drip, talksound_=se_null, textspeed_=.5, namecolor_=c_white, texteffects_=[]) constructor {
name = name_;
sprite = sprite_;
talksound = talksound_;
textspeed = textspeed_;
namecolor = namecolor_;
texteffects = texteffects_;
global.textguy[?string_lower(name)] = self;
}
function talksprite(name_, char_, val_) constructor {
val = val_;
variable_struct_set(global.textguy[?char_], name_, self);
char = global.textguy[?char_];
}

View file

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