Hello there!
I always very happy to post something here, the community is very helpful so thank you!
NB: My project size is 1780x480 and my viewport is 854x480
First, I created events to position my dialog UI elements like this:
The first dialog is triggered by the appearance of NPCs with animations like this:
I created a dialog system like this:
And it works perfectly fine!
I tried to use the same system logic for the second dialog:
What works fine:
- the NPC appears and the change in animation is triggered
- the dialogbox2 appears where it should and display the first line of the correct dialog array
What goes wrong:
- the avatars do not appear
- pressing the spacebar doesn't make the dialog progress
What I did to try and fix the issues:
- I tested the signal "foxdialog2" by trying to make a another text object appear but it seems like this signal is not sent and I really do not know why.
- I tried to position the avatars according to the first Text object and they appeared but they do not appear if I redo it according to the second text object
- I checked the order of events to make sure the Text object was position before the avatars, and that the action to send the signal was the first one (not to be disturbed by the start of an animation)
- I checked the parallax of my UI layer and it is set to 0%x0%
- I checked visibility issues (initially visible is unchecked, layer visibility is on, no opacity change and Z order)
So there are two persisting issues:
- the avatars not being displayed
- the second dialog not progressing
I am an absolute beginner and I tend to Frankenstein things up so maybe it's just that I created conflicts and should redo the whole thing!
Curious to know what you think and to test your suggestions!
Thank you in advance :)