Dialogue
Last updated
Last updated
The Dialogue Component in UFOLAB is a feature that allows game creators to add text-based dialogues, similar to those used in narrative-driven games. It’s designed to simulate character conversations or provide story elements to players in different stages or phases. This component is ideal for storytelling, giving instructions, or delivering information in a dynamic, stage-by-stage manner.
Adding the Dialogue Component:
In the game editor, locate the Dialogue Component from the left toolbar in Components.
Drag the Dialogue Component into the scene where you want the dialogue to appear.
Dialogue style: You can personalize the appearance of the dialogue by adjusting fonts, text size, and color to fit the overall game design.
Configuring Dialogue Stages:
Once the component is added, you can set up the dialogue in different stages. This feature allows you to separate the conversation or information into manageable parts, which the player will experience in sequence.
For each stage, you need to add 3 dashes (---) and then Intro in your Keyboard.
Dialogue stages need to be separated by: Intro + --- + Intro. Example:
CHARACTER 1: Hello
---
CHARACTER 2: I am Ryder
Configuring Dialogue Options:
Speed: number of keystrokes per second.
Characters per tick: number of characters typed per keystroke.
Delay: wait time in seconds before typing starts.
Key sound: different styles of sound to adjust this component to the game style.