Page 1 of 1

how to make responsible subtitle??

Posted: Mon May 13, 2024 5:32 am
by boltibm
Hi.
I am not good at English.
Therefore, I will explain it with a screenshot.
산나비선택.png
산나비선택.png (137.39 KiB) Viewed 263 times
Like the screenshot above, I want to create an option to choose between left, right, or up and down arrow keys during conversation.
dialogue.png
dialogue.png (20.84 KiB) Viewed 263 times
I am also attaching a screenshot of the dialog we are producing.
Only the leftmost conversation keeps coming out.
What should I do?

Re: how to make responsible subtitle??

Posted: Mon May 13, 2024 9:41 am
by Tony Li
Hello,

If you want to show all 4 options like this:

Image

then please see: How To: Map Joystick Buttons to Response Menu

If you want the menu options to appear in the same place (i.e., in the bubble) and you can change which one is visible by using the arrow keys, that is more of a Unity UI question. I still recommend assigning your UI buttons to the Standard UI Menu Panel's Buttons list. Set up navigation so the arrow keys navigate the buttons and scroll the responses up/down/left/right to keep only the currently-selected response in view. If you need help setting up this up in Unity UI, let me know.

Re: how to make responsible subtitle??

Posted: Tue May 14, 2024 3:48 am
by boltibm
Thank you,

i read post and guess,,,

1. make 3 UI Panel with text
2. if player use Left/Right Arrow (navigate) -> UI show/ hide, show hide ??

is correct?
i think dialogue system has more effectively function.



main problem is this.
>>
Only the leftmost conversation keeps coming out.


thank you,
and sorry for my lack of english T_T

Re: how to make responsible subtitle??

Posted: Tue May 14, 2024 9:25 am
by Tony Li
I understand now. I'll post an example here later today.

Edit: I was delayed. I'll try to post it as soon as I can tomorrow.

Re: how to make responsible subtitle??

Posted: Wed May 15, 2024 7:58 pm
by Tony Li
Hi,

Here's an example scene:

DS_SanabiStyleExample_2024-05-15.unitypackage

Please see the ---README--- GameObject in the scene.

Re: how to make responsible subtitle??

Posted: Thu May 16, 2024 1:08 am
by boltibm
Very nice.

thank you~~ ^3^

Re: how to make responsible subtitle??

Posted: Thu May 16, 2024 7:59 am
by Tony Li
Glad to help!