GameMaker (2.3)
Icon

Dialogue engine - Text boxes

Pikku-a

You must be logged in to obtain assets

Description

With this dialogue engine you can easily add text boxes with dialogue to your games. You can also add options that affect the dialogue or change variables. It's easy to change the speed of the text and colors or the sprite shown in the text box. Now you can add speech bubbles too.

Most important features:

  • Text boxes

  • Speech bubbles

  • Typewriter text

  • Options/choices that can affect the dialogue or change variables

  • Works with different views and camera

  • Very customizable

  • Incredibly easy to use

How is it used? Everything works with scripts. Every script has an explanation and an example. I have tried to make this dialogue engine as easy to use as possible.

How easy to use is it? For example, you can make an npc say something with this:

if keyboard_check_pressed(vk_space) {
    if place_meeting(x,y,player) {
        if !textbox_exists() {
            textbox_create("Hello","How are you?");
            textbox_set("Bob",c_blue,c_white,c_white,0.7,font,noone,true);
        }
    }
}

And it will just work. : )

End User Licence Agreement (EULA).

Age Rating: 4+

Versions

GMS2 - Version 1.8.4. Published June 25, 2020

BIG CHANGES

  • textbox_set script updated with a new argument: EnableMouse. If it's set true, mouse can be used to advance in dialogue and choose options. If you want to change the sprite of the box in the options, change it manually in the option objects.

  • Options now appear after the whole text has appeared.

BUG FIXES

  • When using speech bubbles, sometimes things were calculated incorrectly because of font size variations, now it's fixed.

GMS2.3 - Version 2.7.0. Published October 12, 2022

BIG CHANGES

  • New script: textbox_add_voice() - With it you can add voice acting - And it's possible to make it synchronize with the text! (And, to some degree, with the sprite animation! (it's not complete lip-sync, but something simpler))

  • Now it's possible to change the option positions (new optional arguments to textbox_set_position)

  • Now it's possible to use Draw GUI event for the textbox. (More info in the manual.) This hasn't been tested as much, so I still recommend using the normal Draw event.

  • New experimental feature: Smart line break - This optional argument in textbox_set makes it possible to prevent text from changing line in the middle of a word. Note that this doesn't work correctly on all projects yet! (that's why it's an optional argument)

LITTLE CHANGES

  • New optional argument to textbox_set() script: text separation

  • New optional argument to textbox_set() script: syncSprite - To animate character sprite only when text is going.

  • New optional argument to textbox_set() & textbox_set_bubble() scripts: image speed (of character portrait and continue icon)

  • Sprite argument in textbox_set() is now optional

  • Moved position variables to "settings area"

  • New example npc that shows some of the new features

  • Started improving the scripts by adding better JSDoc Script Comments and adapting to the new ways of using scripts. This work will take some time and I'll be doing it little by little.

  • Improved performance a lot, especially when using options

  • Improved code formatting a little and added/edited some comments

  • Updated manual

  • Other small changes

  • Also, there is now a discussion board for this on itchio: https://pikku-a.itch.io/dialogue-engine/community

BUG FIXES

  • Fixed bug: Changing separation in the "settings area" didn't have any effect

  • Fixed animation bug related to speech bubble continue icon

Loading, please wait

Package contents

Loading, please wait

What is the issue?

Loading, please wait