Bubble UI player responses

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

Hi,

Does your player character have a CharacterButtonActivation component?

As a test, try unticking the ConversationZone's Activation Conditions > Should Update State.

Would you please a reproduction project to tony (at) pixelcrushers.com?

You may be able to get by with just sending a unitypackage. If you want to try that, right-click on the scene, select Export package, and export the scene, dialogue database, and player prefab. Then let me know what version of Unity you're using.
User avatar
Tony Li
Posts: 22163
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

Thanks for sending the package.

The bubble is glitching because the "Keep RectTransform Onscreen" component is having trouble keeping the bubble's Main Panel onscreen while the typewriter is playing.

Ultimately, in this case it's because Zoom2D isn't able to zoom out to fit the bubble because Corgi is using Cinemachine, which blocks Zoom2D's control. Instead of using Zoom2D, I recommend using the Dialogue System's Cinemachine features instead of turning off Cinemachine. (Tick the Welcome Window's USE_CINEMACHINE checkbox.) I sent you an updated scene and dialogue database that moves the camera to a new Cinemachine vcam position named "PunchVcam". This vcam is a child of the NPC. I also assigned the NPC to the Dialogue System Trigger's Conversation Conversant field. The NPC has a Cinemachine Priority On Dialogue Event component that makes it use PunchVcam during its conversation. Alternatively, you could use CinemachinePriority() sequencer command(s) in your conversation. The conversation's first node delays for 1 second to give the camera time to smoothly zoom out to make enough room for the bubble.
Post Reply