Page 1 of 1

show all avatars during dialogue

Posted: Sat Oct 05, 2019 5:41 am
by sentendo
I have a scene and I would like to show always all the avatars of the dialogue, even when they do not speak.
Actually, when it is their turn to speak, I would like to add some animation which make them bigger, for instance.

Where should I start to do that?

Re: show all avatars during dialogue

Posted: Sat Oct 05, 2019 8:42 am
by Tony Li
Hi,

If each actor has its own subtitle panel, set the subtitle panel's Visibility to Always From Start. When the conversation starts, the dialogue UI will identify all actors that are assigned to dialogue entries in the conversation. If the actor uses a subtitle panel whose Visibility is set to Always From Start, it will open the panel and show the actor's portrait.

Then assign Focus and Unfocus animations to the subtitle panels to grow and shrink the portrait image. When an actor speaks, its subtitle panel will get focus, and it will play the Focus animation. Examine the Focus Template Standard Dialogue UI prefab to see an example of focus animations. In this prefab, the speaker fades in to 100% opacity and the listener fades out to 50% opacity.

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 2:56 am
by sentendo
great, now it works.
Anyway, the "unfocus" trigger is triggered before of my "tap continue". Can I fix that somehow?

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 8:50 am
by Tony Li
Hi,

I'm sorry; I don't understand. Can you please provide more details and/or screenshots?

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 9:51 am
by sentendo
Yes of course, I would like to see every character showing their balloons UNTIL the player taps the screen to continue.

Right now, a character shows its balloon:
Image

https://ibb.co/XSVC6Pq

and then it shrinks and the balloon goes out BEFORE the player can tap the screen
Image

https://ibb.co/10RHRp7

This is because the Unfocus Animation Trigger is launched without the user tapping the screen.
Is there any way to solve this?

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 9:54 am
by Tony Li
Hi,

Please try this: Inspect the Dialogue Manager GameObject, and set Subtitle Settings > Continue Button to Always.

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 11:35 am
by sentendo
Thank you, now it works!

BUT... I have a new problem: the balloon stays but when I tap the screen it unfocuses and I should tap again to see the next screen. Can I place some option to see automatically the next message after I tap the first?

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 12:11 pm
by sentendo
I solved, it was just a change in the dialogue. Thank you very much for your help!

Re: show all avatars during dialogue

Posted: Tue Oct 08, 2019 12:32 pm
by Tony Li
Glad to help!