MessageBox system


I've implemented the new messagebox system for characters dialogs.

To make the script working better i made a cutscene trigger and another script for dialogs.

First i have type in a simple text file (.txt) some text using an index to map them.

for example "1=Hello World"

then the cutscene trigger script take as input some parameters such as index of the texts that should display when the player enters an area.

After that the scene trigger call search the messagebox script and call the show function. It can takes more than 1 text so that they can be display one after another.

This script can trigger others script too so i can handle more nodes at the same time. (the camera node it's needed for some effects such as shake camera)

this is an example:

and the following screenshot is the message box shown (there is an issue with the light that affect the hud, it shouldn't do it)


Leave a comment

Log in with itch.io to leave a comment.