Page 1 of 1

Scrolling Template, but from the Bottom

Posted: Sun Mar 31, 2024 7:30 pm
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.

Re: Scrolling Template, but from the Bottom

Posted: Mon Apr 01, 2024 9:30 am
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 213 times

Re: Scrolling Template, but from the Bottom

Posted: Mon Apr 01, 2024 11:00 am
by SpecificImpulse
Oh, much better! Many thanks.

Re: Scrolling Template, but from the Bottom

Posted: Mon Apr 01, 2024 11:02 am
by Tony Li
Glad to help!