Bubble UI player responses

Announcements, support questions, and discussion for the Dialogue System.
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Bubble UI player responses

Post by lostmushroom »

Hey, it's been a while since I used Corgi and DS together and I'm having an issue with the Bubble UI. Annoyingly this is something I had working ages ago in a different project, but I forgot how to do it. D:

I'd like to have responses show up in the player's dialogue bubble rather than in the NPC's. I checked out the example in the below post, but it doesn't seem to work correctly. Rather than the responses showing in the player bubble, they show in the NPC's bubble and then played as subtitles in the player bubble.

https://www.pixelcrushers.com/phpbb/vie ... 364#p13364

I'd like to have ONLY responses in the player bubble (no subtitle text) and no responses appearing in the NPC's bubble.

Hope I'm not missing something obvious. Thanks in advance :)
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

Hi,

Are you playing the scene in the Dialogue System Examples folder? Maybe the original Corgi integration scene was still open.

I updated the package links in the forum link you cited. I don't recall if anything changed, but the latest version has a newer date. I also included a link to a related package that does the same thing (player response menu appears over player) but also shows how to limit the width of subtitle bubbles.
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Re: Bubble UI player responses

Post by lostmushroom »

Hey, the updated package works, thanks!

I brought the Dude NPC and player into a new scene and they seem to work other than this weird graphic effect of the speech bubbles flickering. Video here:



Any idea what could be causing this? Restarting Unity didn't fix it so I'm out of ideas :lol:
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

Hi,

[Never mind - video fixed]
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Re: Bubble UI player responses

Post by lostmushroom »

Sorry wrong link, just edited it
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

Does the video flicker in the example scene?

Is the top "Punch Bag" line the actor portrait name? Or part of the dialogue text?
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Re: Bubble UI player responses

Post by lostmushroom »

No, it works correctly in the example scene. I just noticed that Dude 1 Zoom Focus doesn't seem to be doing anything in my new scene - could it be something to do with that?

Punch Bag is the actor portrait name.
User avatar
Tony Li
Posts: 22037
Joined: Thu Jul 18, 2013 1:27 pm

Re: Bubble UI player responses

Post by Tony Li »

False lead; I don't think the actor portrait name is causing an issue.

Are you using the default Unity UI Text or have you switched the UI to TextMesh Pro?

Have you assigned anything to the Subtitle Line's Typewriter Effects > OnBegin()/OnCharacteR()/OnEnd() UnityEvents? Or enabled the Auto Scroll Settings?
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Re: Bubble UI player responses

Post by lostmushroom »

No, I didn't add anything like that. I made two changes after moving them to the new scene - made the NPC and player refer to a different dialogue database and checked prevent jumps while in the conversation zone.
Not using TextMesh Pro either.
lostmushroom
Posts: 193
Joined: Mon Jul 01, 2019 1:21 pm

Re: Bubble UI player responses

Post by lostmushroom »

Just checked the console and got these two errors, maybe this helps?
errors.PNG
errors.PNG (16.98 KiB) Viewed 515 times
Post Reply