Extension "Dynamic Dialog Box" for GDevelop 5
A downloadable project
With this extension it is possible to create a dynamic dialogue or story without the need to use Yarn. (GDevelop 5)
New features:
- Choice dialog e.g. (yes/no)
- Start actions according to choice
- Action on a given dialog message
- Show dialog again
All features:
- Automatic message change
- Changing messages by key
- If the automatic change is active and there is no key pressed, the messages will be passed until the last
- Message change time in seconds
- Message color
- Position where the dialogue will be created (Top, Middle, Bottom)
- Customizable width and height
- Changing the label of the pressed button
- Changing the final label of the pressed button
- Margin/padding change
- Show/hide the overlay
- Opacity overlay
- Overlay color
- Show/hide character name
- Show/hide avatar
- Avatar model (Bust or Portrait)
- Character name color
- Character name font size
- Message color
- Message font size
- Pressed button lebel color
- Pressed button label font size
How to use:
Add one Text with tween behavior, Panel Sprite (9-Patch), Button (panel sprite), if it's dialogue, one Sprites with all frames (profiles) for characters and animation names equivalent and an animation for the frame with the appropriate name "SelectFrame". So:
To use normal dialog:
Event -> Add action: Start dialog
Event -> Add condition: Message has been started
Sub Event -> Add condition: Trigger once while true
Sub Event -> Add action: Add message (as many times as you want)
Sub Event -> Add action: Create dialog
To use message with action:
Event -> Add action: Start dialog
Event -> Add condition: Message has been started
Sub Event -> Add condition: Trigger once while true
Sub Event -> Add action: Add message (as many times as you want)
Sub Event -> Add condition: Action has been started and Trigger once while true
Add action: (Actions you want to start)
Add action: Stop action
To use the choices dialog:
Event -> Add action: Start dialog
Event -> Add condition: Message has been started
Sub Event -> Add condition: Trigger once while true
Sub Event -> Add action: Add message (as many times as you want)
Sub Event -> Add condition: Check choice selected in dialog and Trigger once while true
Add action: (Actions you want to start)
Add action: Stop choice dialog
For more information just ask!
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
I feel like I'm doing something wrong here but I can't figure out what it is. I've configured everything accordingly, even named the assets the same things as you did in your example, but I just get a blank screen. Upon trying to preview the example, which has been working up until this point, it just displays three dots instead of the graphics.
Please help, I'm very confused.
Thank you Alerson Jorge. Your Asset pack for this alternative dialogue system is very helpful vs the use of YARN. Yarn keep code crashing on me and since it is stil in the beta version, that is often common vs stable versions. So, this should help solve the hurdle and it will be a practical work around. I will make sure to include a attribution to you in the end game credits of my finished work