Page 1 of 2

Bubble UI player responses

Posted: Sun May 09, 2021 3:27 pm
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 :)

Re: Bubble UI player responses

Posted: Sun May 09, 2021 4:51 pm
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.

Re: Bubble UI player responses

Posted: Mon May 10, 2021 7:42 am
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:

Re: Bubble UI player responses

Posted: Mon May 10, 2021 7:44 am
by Tony Li
Hi,

[Never mind - video fixed]

Re: Bubble UI player responses

Posted: Mon May 10, 2021 7:45 am
by lostmushroom
Sorry wrong link, just edited it

Re: Bubble UI player responses

Posted: Mon May 10, 2021 7:46 am
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?

Re: Bubble UI player responses

Posted: Mon May 10, 2021 7:52 am
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.

Re: Bubble UI player responses

Posted: Mon May 10, 2021 8:02 am
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?

Re: Bubble UI player responses

Posted: Mon May 10, 2021 8:13 am
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.

Re: Bubble UI player responses

Posted: Mon May 10, 2021 8:15 am
by lostmushroom
Just checked the console and got these two errors, maybe this helps?
errors.PNG
errors.PNG (16.98 KiB) Viewed 521 times