Home Artists Posts Import Register
Join the new SimpleX Chat Group!

Content

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.

Files

GameMaker Studio 2: Action RPG Tutorial (Part 8: Queuing Text boxes)

★ Source Code ▶ https://shaunjs.itch.io/shauns-action-rpg-tutorial ★ Support my work ▶ https://www.patreon.com/shaunjs ★ Assets & Sprites ▶ http://shaunspalding.co.uk/ARPG_Assets.zip Learn to build a zelda like action RPG in GameMaker Studio 2, starting from nothing at all. This episode adds on to what we built in episode 7, giving us the means to call our text box from anywhere and call several messages in a sequence. These tutorials are supported almost wholly by wonderful people via Patreon, click the link above to get join them an access these episodes early, get instant access to source code for all videos and more.

Comments

Anonymous

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)

Anonymous

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! ;)