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)
Black Ameba / Ameba Project
Status | Prototype |
Author | CustomDev1 |
Genre | Action |
More posts
- Meteor animation - 5 AttemptsApr 21, 2022
- New tiles for the city!Apr 19, 2022
- City improvements and detailsApr 18, 2022
- A better palette, clouds and grass animationApr 17, 2022
- Scale fixed and backgrounds improvedApr 16, 2022
- New backgrounds worksApr 15, 2022
- WIP - NPC Death and LaserApr 14, 2022
- First Update - Characters and gameplayApr 14, 2022
Leave a comment
Log in with itch.io to leave a comment.