Simple Dialogue
Dialogue Mechanic Explanation
Dialogue Mechanic Explanation
The white, translucent dialogue box, the text and the E symbol all follow the player box using Hierarchies.
The white, translucent dialogue box, the text and the E symbol all follow the player box using Hierarchies.
All the above objects as well as the player box are initially invisible.
All the above objects as well as the player box are initially invisible.
When the player crosses the purple line it triggers the Minotaur to face him and the E (interact) symbol to become visible and flash.
When the player crosses the purple line it triggers the Minotaur to face him and the E (interact) symbol to become visible and flash.
Pressing E:
Pressing E:
Makes the dialogue box visible
Makes the dialogue box visible
Makes the SpriteFont text visible
Makes the SpriteFont text visible
Starts the TypeWriter effect of the text
Starts the TypeWriter effect of the text
When the typewriter effect is finished:
When the typewriter effect is finished:
We wait 1 second
We wait 1 second
Make everything invisible again.
Make everything invisible again.