I am not a ui designer, but I wanna make a simple fade transition.
I wrote a little bit of code so that it goes from transparency 1 to transparency 0
code:
for count = 1, 0, -0.05 do
wait(0.005)
endingGui.Bottom.BackgroundTransparency = count
endingGui.left.BackgroundTransparency = count
endingGui.Bottom.Title.TextTransparency = count
endingGui.right.BackgroundTransparency = count
endingGui.bottom.border.BackgroundTransparency = count
endingGui.bottomtext.TextTransparency = count
end
it doesnt work great though…
when it plays the transition wherever the different labels are overlapping is darker (natrally) , but I was wondering if there was a way to sort of override this to make the overlapping parts the same color
I didn’t really understand your question but maybe you could try using the .Zindex property?
Could you send a video of what happens?
By the way it would be better using TweenService if you want to make a transparency transition.
im sorry you didn’t understand, I had a picture ready and I forgot to put it in the post
and like I said, I am not a ui designer, but i will look into using tweenservice, thank you
Its alright, well, In the case of the picture wouldnt it be easier for you to resize the top and bottom frames to fit it?
Or you could make an invisible frame with lower zindex in the part where it doesn’t overlaps and put the top/bottom frames as its child, then you can use the .ClipDescendants property of the invisble frame, so the part where it is overlapping wont appear.
you can use CanvasGroup for this, it combines each element into a single “render”.
so you can apply transparency to a whole render and not separately to individual frame