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.
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_set_sprite() - Sets a sprite to the textbox instead of colored rectangles.
textbox_set_position() - Sets a new position to the textbox, name box, character image, etc.
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.
Now the speakers face sprite can be of any size and it will be automatically resized.
Removed script textbox_sound_on. Now sound gets on when setting the sound with textbox_set_sound.
Added possibility to change the volume and interval of textbox sound (optional arguments in textbox_set_sound).
Changed the default size of the textbox. Now it's slightly smaller.
Changed the skip delay from 5 steps to 4.