Scrolling Template, but from the Bottom

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
SpecificImpulse
Posts: 6
Joined: Thu Mar 28, 2024 7:20 pm

Scrolling Template, but from the Bottom

Post by SpecificImpulse »

Quick question for the board:

I know a lot of you have done Disco Elysium style templates where player responses and Continue prompts live at the bottom of the panel, and the newest dialog is at the bottom. I'm customizing a template based on the Scrolling template included in the package, but the dialog descends from the top rather than originates at the bottom.

Is there a quick/easy way to do this? I'm just not sure what I should be editing to make this change.

Initially, I just ramped the Top padding to around 960, which worked great except when you clicked the Continue button there were a few frames where it jumped out of the panel as it scrolled, and that looked janky. So I wasn't sure if there was a better way to get the "scroll from the bottom" effect.
User avatar
Tony Li
Posts: 20774
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling Template, but from the Bottom

Post by Tony Li »

Hi,

Inspect the Scroll Rect's Scroll Content. Anchor its Rect Transform to the bottom, and set the Pivot > Y to 0:
scrollFromBottom.png
scrollFromBottom.png (81.38 KiB) Viewed 84 times
SpecificImpulse
Posts: 6
Joined: Thu Mar 28, 2024 7:20 pm

Re: Scrolling Template, but from the Bottom

Post by SpecificImpulse »

Oh, much better! Many thanks.
User avatar
Tony Li
Posts: 20774
Joined: Thu Jul 18, 2013 1:27 pm

Re: Scrolling Template, but from the Bottom

Post by Tony Li »

Glad to help!
Post Reply