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:
Options/choices that can affect the dialogue or change variables
Works with different views and camera
Incredibly easy to use
Everything works with scripts. The scripts included are:
textbox_create() - Creates a textbox with dialogue.
textbox_set() - Sets things like color, font, outline, alpha, name of the speaker, etc.
textbox_set_bubble() - The same as textbox_set, but instead of a box makes a speech bubble. (This is a new feature!)
textbox_set_speed() - Sets how fast the text increases in each message.
textbox_set_key() - Sets the keyboard keys used to speak and skip dialogue.
textbox_set_sound() - Sets the sound that plays when speaking.
textbox_sound_on() - Sets the text sound on or off.
textbox_set_sprite() - Sets a sprite to the textbox instead of colored rectangles. NEW
textbox_set_position() - Sets a new position to the textbox, name box, character image, etc. NEW
textbox_add_options() - Adds options to a specific message.
textbox_change_message_according_option() - Changes a message depending on what option the player chooses.
textbox_exists() - Checks if textbox exists.
chooses_option() - Checks what option the player has chosen. (Can be used to change a variable depending on what option has been chosen).
textbox_change_var_at_end() - Changes a variable when the dialogue ends.
Every script has an explanation and example. I have tried to make this dialogue engine as easy to use as possible. Thank you for using it!
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.
Removed useless argument from script textbox_change_message_according_option()
Removed "info" script. Instead there is a "Help" note.
Improved scripts a little (mostly appearance)
Added F11 for fullscreen in the example