Hi!
I am currently working on integrating Lively Chat Bubbles into the Dialog System, I also use a Text Animator, so I changed a couple of lines of code in the Chat Bubbles to work with the TMP. Everything works great and the effects are animated, however there are a few things that are beyond my control:
Unfortunately, the support package for Lively Chat Bubbles does not include the response panel, and with the standard panel the Chat Bubbles do not work and the Unity shows errors. I'm not very good at coding, so I ask for your help.
The following two things are similar to bugs, but I may be doing something wrong:
Firstly, when playing a conversation, text do not immediately take the desired position, which is why strange things happen, I will attach a video:
Secondly, I also use the Corgi Engine and when I press the continue button (in this case the spacebar) and at the same moment go to the left, the pause menu opens(this is shown at the very end of the video), probably some overlapping of buttons occurs and when I press the left I switch from the continue button to the pause button of the Corgi Engine, but this has not happened before. I tested everything on a clean project with just imported assets. I haven’t used Chat Bubbles before, so it’s probably because of something from there.
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 10:06 am
by Tony Li
Hi,
Psishe228 wrote: ↑Thu Jan 28, 2021 9:36 amUnfortunately, the support package for Lively Chat Bubbles does not include the response panel, and with the standard panel the Chat Bubbles do not work and the Unity shows errors. I'm not very good at coding, so I ask for your help.
Where do you want the response menu to appear? Inside the same bubble, or over the player's head? Here's an example that uses a response menu panel over the player's head: (Talk to the first NPC.)
Psishe228 wrote: ↑Thu Jan 28, 2021 9:36 amFirstly, when playing a conversation, text do not immediately take the desired position, which is why strange things happen.
That looks like an issue with Text Animator and Lively Chat Bubbles. By default, Lively Chat Bubbles animated the bubble size when showing text. Text Animator may be trying to fit itself inside a very thin Rect Transform at first. As Lively Chat Bubbles animates the width of the bubble wider, Text Animator is able to fit more appropriately.
Psishe228 wrote: ↑Thu Jan 28, 2021 9:36 amSecondly, I also use the Corgi Engine and when I press the continue button (in this case the spacebar) and at the same moment go to the left, the pause menu opens(this is shown at the very end of the video), probably some overlapping of buttons occurs and when I press the left I switch from the continue button to the pause button of the Corgi Engine, but this has not happened before. I tested everything on a clean project with just imported assets. I haven’t used Chat Bubbles before, so it’s probably because of something from there.
Double check the Dialogue System's Corgi integration setup steps. It sounds like a timing issue where the pause menu is reading the same input press that was used for the continue button.
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 10:40 am
by Psishe228
Yes, I need a response menu panel that appears over the player's head
That looks like an issue with Text Animator and Lively Chat Bubbles. By default, Lively Chat Bubbles animated the bubble size when showing text. Text Animator may be trying to fit itself inside a very thin Rect Transform at first. As Lively Chat Bubbles animates the width of the bubble wider, Text Animator is able to fit more appropriately.
Perhaps I need to change something so that the text animator starts working a couple of frames later, I'll think about it
Double check the Dialogue System's Corgi integration setup steps. It sounds like a timing issue where the pause menu is reading the same input press that was used for the continue button.
The manual only says to add a DialogueSystemCorgiEventListener, I added, but the problem remained. In the scene that you sent me, there is no such problem, but it uses the default Unity text.
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 11:21 am
by Tony Li
Here's a Corgi example that uses a continue button in case it can help:
I just started the scene without changing anything and pressing left and spacebar at the same time opens the pause menu
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 11:46 am
by Tony Li
What input opens your pause menu? We must have different input settings.
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 11:53 am
by Psishe228
All is well, just in that scene, by default, the desired corgi character was not installed for some reason. The continue button is working correctly now.
How can I use the Response Menu Panel with Lively Chat Bubbles?
Re: Lively Chat Bubbles Response Menu Panel
Posted: Thu Jan 28, 2021 11:55 am
by Tony Li
I'll add response menu panels with Lively Chat Bubbles to the roadmap. Currently Lively Chat Bubbles are for subtitle panels only.