Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

help with gui positioning and tweening?

Asked by 6 years ago

Hi i want to know how to make an gui look like it's tweening out of an imagebutton. For example, I have i'm making a spectate system you can open by clicking an imagebutton that's shaped like a circle. I'd like it make it so that the spectate bar(the think that shows who you're spectating) slides out of the imagebutton in a seemless way, instead of sliding from outside of the screen area. Is there a way to do that? the problem is that the spectate bar is much longer than the imagebutton, so you can't hide it underneath it and tween it from there. I tried TweenSizeAndPosition to make the spectate bar start off really small so i can hide it underneath the imagebutton, but it scales the text of the spectate bar really oddly.

1
There's really no way to avoid this. You can disable Text Scaling, which has its own visual artifacts, or you can use a second fade or tween for the text. adark 5487 — 6y

Answer this question