SamSuka
shaunjs
shaunjs

patreon


ARPG Episode 8 - Queuing text boxes

Sorry for the delay,  source code and a proper project update on Monday! Been having some internet issues and struggled to get this video uploaded and set up properly.

Live to you now, to the rest of the world the following Friday.

Now that we can draw text boxes, we need to be able to do so on demand and in sequence, whenever we want to.

We'll be taking a slight detour next episode to set up "entities" so that we have the npcs and signposts we need to actually speak to.

ARPG Episode 8 - Queuing text boxes

Comments

I fixed this late last night, I played around with the function (2.3) and found that putting arguments in the () caused it to error... not sure why because they work for other functions like ScreenShake.. perhaps it's clashing with message = argument[0] or argument_count etc... neveraless I removed message, background from the NewTextBox(message, background) function and left it as NewTextBox(){ and all working. YAY ME! ;)

Just complete this video and was awesome, however I've reviewed video several times and intricatley looked at code... everthing seems in order but I'm getting the following error when pressing T, ive even tried a few fixes with my little knowledge to no avil. Anyone help? ERROR in action number 1 of Draw Event for object obj_text: Variable obj_text.background(100112, -2147483648) not set before reading it. at gml_Object_obj_text_Draw_64 (line 2) - NineSliceBoxStretched(spr_TextBoxBg,x1,y1,x2,y2,background) ############################################################################################ gml_Object_obj_text_Draw_64 (line 2)


More Creators