Automatic Scrolling and etc

Announcements, support questions, and discussion for the Dialogue System.
ricjonsu098
Posts: 45
Joined: Sat Jul 30, 2016 8:37 am

Automatic Scrolling and etc

Post by ricjonsu098 »

Hello there. Is there an automatic scrolling in dialogues? Because I modified the size of the dialogue panel which is the Runic Unity UI and there is no auto scrolling. I was wondering if I modified something I shouldn't have. I have a long text and the scroll just stays at the top when the text typewriting effect is continuing in the bottom. So is it possible to make it auto scroll?

And my other concern is, like I said, I have a long text. The dialogue just exits and doesn't finish the text. I have the continue button set to never because of a certain situation.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Scrolling and etc

Post by Tony Li »

I'll update the Unity UI Typewriter Effect with an option to auto-scroll. (I'll post a download link here later today.)

If the dialogue exits before finishing the text, this probably means that the typewriter effect's Chars Per Second is slower than the Dialogue Manager's Subtitle Chars Per Second. Try setting your Dialogue Manager's Subtitle Chars Per Second to an equal or lower value than the typewriter effect's Chars Per Second.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Scrolling and etc

Post by Tony Li »

The Dialogue System Extras page now has an updated UnityUITypewriterEffect package. It's in the first section (Updated Support Packages).

After importing it, the typewriter effect will have a new foldout section called Auto Scroll Settings:

1. Tick Auto Scroll Enabled.

2. Assign the Scroll Rect.

3. Assign the Scrollbar Enabler. It's usually on the Unity UI Dialogue UI GameObject.
ricjonsu098
Posts: 45
Joined: Sat Jul 30, 2016 8:37 am

Re: Automatic Scrolling and etc

Post by ricjonsu098 »

Great! Thanks for the great support. Never had the chance to thank you for the support because i always have trouble signing in.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Scrolling and etc

Post by Tony Li »

Happy to help! Are you having trouble signing into the forum here on the Pixel Crushers site?
ricjonsu098
Posts: 45
Joined: Sat Jul 30, 2016 8:37 am

Re: Automatic Scrolling and etc

Post by ricjonsu098 »

the fault is on my internet, sometimes whenever i press login button, the page returned "Server no reply"
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Scrolling and etc

Post by Tony Li »

Sorry about the login troubles. It's possible that it's our web host, too. It's located on the west coast of the USA, and there might be lag to wherever you're connecting from. If you ever need urgent help and can't log in, please feel free to email me directly at tony (at) pixelcrushers.com.
ricjonsu098
Posts: 45
Joined: Sat Jul 30, 2016 8:37 am

Re: Automatic Scrolling and etc

Post by ricjonsu098 »

Hello, I will just reply here, I don't want to create another thread as it may spam the forum.

Is there a way to speed up the scrolling speed using MiddleMouseButton(ScrollButton) ? Because it takes like 2-3 scrolls for the text underneath to be visible. It's just too slow, any way I can speed it up?

NOTE: I use Runic Unity UI
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Automatic Scrolling and etc

Post by Tony Li »

Hi,

In your Runic UI, inspect Dialogue Panel > Interior Panel > Scroll Rect.

On the Scroll Rect component, increase Scroll Sensitivity to something like 10 or 20.
ricjonsu098
Posts: 45
Joined: Sat Jul 30, 2016 8:37 am

Re: Automatic Scrolling and etc

Post by ricjonsu098 »

Worked like a charm. Thanks!
Post Reply