Help with RPG style text box? (a mini text engine). The guy develops a system equivalent to rpg maker switches that could be very useful in this matter. Creating a textbox engine for a role playing game can be a daunting task. Textboxes seem simple at first, but soon become a nightmare of string functions.
Creating a textbox engine for a role playing game can be a daunting task. Textboxes seem simple at first, but soon become a nightmare of string functions. In this tutorial series, I will explain how to create an advanced textbox engine for Game Maker Studio. Features include: • Display text in a textbox • Automatic word wrapping • Type-writer effect for displaying text • Textbox can expand onto multiple pages NOTE: I will be creating my textbox engine in a room with the size of 320×240. The size of my textbox will be 288×80. Feel free to use different dimensions!
Step 1: Create a new object. Name it obj_textbox. Add a new Create Event. Step 2: In the Create Event of obj_textbox add the following code. This is a list of variables you can edit to customize the textbox engine. Feel free to change any of these variables to suit your needs. The Spangle Maker Rar Download on this page. /////////// Edit these values ////////////// // continue sprite – Will be displayed when the textbox is full of text continueSprite = spr_continue; // Speed of continue_sprite image_speed = 0.4; // X position of the continue sprite spriteX = view_wport[ 0] / 2; // Y position of the continue sprite spriteY = view_hport[ 0] – 21; // The background image of the textbox background = bkg_textbox; // Confirm Key confirmKey = ord( ‘X’); // Speed Up Key speedUpKey = ord( ‘Z’); // Determines how many characters will be drawn per iteration.