Scrolling UI

Announcements, support questions, and discussion for the Dialogue System.
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Scrolling UI

Post by DLRyy »

help
scrolling ui template won't show player text in the dialogue history, i think i solved this once but i forgot all about it.
it just displays npc text and player responses
i dont remember if it had to do with conversant options, dont think so

thanks in advance!
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling UI

Post by Tony Li »

Hi,

Tick the Dialogue Manager GameObject's Display Settings > Subtitle Settings > Show PC Subtitle During Line:

Image

You may also want to UNtick Skip PC Subtitle After Response Menu and Always Force Response Menu.

More info: How To: Bypass Response Menu When Player Has One Choice
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Re: Scrolling UI

Post by DLRyy »

Thanks again, Tony.
I can't believe I forgot.

There's this other question I do have with scrolling UI. See I've worked around with Unity's Canvas and again, UI before but I find it kind of tricky to get the subtitle, continue and player response to appear from the bottom and ascend so to speak. See I can get it down there but there will be an overlap from the player responses with the dialogue history, any advice there? What am I overlooking? Btw, yes I've been trying to make these smaller, the response boxes.
.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling UI

Post by Tony Li »

Hi,

Try this:

scrollFromBottom.png
scrollFromBottom.png (81.53 KiB) Viewed 952 times
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Re: Scrolling UI

Post by DLRyy »

Mhm, that's exactly the thing.
They still appear from the top, the dialogue.
Travels from top to bottom when it should do the opposite way, I really don't know why this is happening.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling UI

Post by Tony Li »

Can you try this test scene? It's DemoScene1 but with a Scrolling Dialogue UI that starts at the bottom.

DS_TestScrolling_2021-09-29.unitypackage
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Re: Scrolling UI

Post by DLRyy »

This works. I'm currently comparing to see what I missed. Thanks btw.
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling UI

Post by Tony Li »

Glad to help!
DLRyy
Posts: 20
Joined: Fri Aug 12, 2022 12:02 pm

Re: Scrolling UI

Post by DLRyy »

Yep, there was 1 missing zero on the position component, missed that one. Apologies but thanks for the help again.
One thing I did want to mention is, how to change text when the response is highlighted.
http://www.pixelcrushers.com/phpbb/view ... ight#p2264
I was reading this but this seems to be for entries themselves.
It would require TMP, right?
User avatar
Tony Li
Posts: 21965
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling UI

Post by Tony Li »

Hi,

Do you want to change the actual text content shown on the response button, or just change the color or other appearance, or something else?

If you only want to change the color or other appearance, you can configure the Button component's Transition. For example, we recently put together a bundle discount with Feel and Text Animator, and the demo scene (here) uses an Animation transition to change the response button's color and scale.

If you want to change the text content, you'll need to detect when the button has been highlighted. You could adapt the approach used by the Hover Response Button example on the Dialogue System Extras page.
Post Reply