Smooth nodes transition
Smooth nodes transition
Hey Tony,
is there a way to set up smooth nodes transition, like in Subsurface Circular? And by that I mean when one node comes after the other it smoothly pushes the node before it up, so you can continue reading that old node if you haven't finished. Hope I make sense, will post a video of Subsurface Circular gameplay here to give you a better idea of what I want. Thanks!
is there a way to set up smooth nodes transition, like in Subsurface Circular? And by that I mean when one node comes after the other it smoothly pushes the node before it up, so you can continue reading that old node if you haven't finished. Hope I make sense, will post a video of Subsurface Circular gameplay here to give you a better idea of what I want. Thanks!
Re: Smooth nodes transition
This post has a link to a Subsurface Circular-style UI example. I don't remember if it smoothly pushes the node up, and I'm out of the office for several hours. I'll check the example later today. If it doesn't smoothly push them up, I'll update the example.
Re: Smooth nodes transition
Yeah I was the one bothering you with that post as well I'm still using modified version of that UI that you made but it doesn't smoothly push them up, thanks for your help in advance.
Re: Smooth nodes transition
Oh yeah! Oops.
When I get back to the office, I'll add smooth scrolling.
When I get back to the office, I'll add smooth scrolling.
Re: Smooth nodes transition
Hi,
Here's an updated scene: SubsurfaceSimilar_2018-05-22.unitypackage
I updated TemplatedConversationLogUI's JumpToBottom() coroutine into a ScrollToBottom() coroutine that scrolls smoothly over 1 second by default, although you can tweak the speed in the inspector. There's also a change in the AddMessage() method marked "Updated for DS 1.8.1+" to accommodate a UI change in DS 1.8.1.
Here's an updated scene: SubsurfaceSimilar_2018-05-22.unitypackage
I updated TemplatedConversationLogUI's JumpToBottom() coroutine into a ScrollToBottom() coroutine that scrolls smoothly over 1 second by default, although you can tweak the speed in the inspector. There's also a change in the AddMessage() method marked "Updated for DS 1.8.1+" to accommodate a UI change in DS 1.8.1.
Re: Smooth nodes transition
Thanks a lot Tony! Cheers!
Re: Smooth nodes transition
Hey Tony I came across a possible bug concerning this add-on, while the smooth scrolling of the text works, I've noticed that it kinda fades away as the dialogue extends. So everything is fine in the beginning but as the dialogue progresses and more and more nodes are being written the smooth scrolling is slowly becoming, well... not smooth, to the point where the effect isn't noticeable at all. Can you please check it out on your machine with some longer dialogue? I'm using the newest version of dialogue system 2.1 and Unity 2018.1.5f1.
Re: Smooth nodes transition
Good catch! The scrolling formula wasn't taking into account the scale as the content grew in height. Here's a direct download to the updated package: SubsurfaceSimilar_2018-07-04.unitypackage. It's also on the Extras page.
Re: Smooth nodes transition
Thanks for the update!
Re: Smooth nodes transition
Hi Tony, I've found another possible bug concerning this add on. Scroll is not working as it should, when you get the scroll bar and start scrolling up to see the text that was already written the scrollbar automatically starts scrolling back down. It may be happening on my project only, but if you have the time check it out. Thanks!
P.S.
Should I write here every time I find some bug regarding this add on?
P.S.
Should I write here every time I find some bug regarding this add on?