I’ve been trying to tween this logo in smoothly on my loading screen but it just appear every time. I’ve looked through my scripts and everything is normal, which means the image isn’t loading fast enough. Is there any way to fix this?
I assume this is for a loader? if that’s the case have you tried using ReplicatedFirst
It still doesn’t work. The logo even has about 15 seconds before it’s shown and still appear instantly instead of tweening like I scripted it.
After some testing I figured out that it has something to do with a tween and that if I have the transparency of the image at 0 to start, it disappears and reappears because of the tween but I seriously don’t know why. This is all that the script does to the logo:
game.TweenService:Create(Logo, TweenInfo.new(0.5), {ImageTransparency = 0}):Play()
wait(0.1)
Logo:TweenPosition(UDim2.new(0.5, 0, 0.5, 0), "Out", "Exponential", 0.5)
Logo:TweenSize(UDim2.new(0, 450, 0, 450), "InOut", "Exponential", 1)
I removed the tweens for one test and the logo stayed visible, so I don’t know why the tweens are making it disappear and reappear.
I changed the easingstyle and for some reason now it works. Is exponential broken or something?
Keep in mind TweenPosition and TweenSize are deprecated, maybe there are some issues because of that
Does that mean they don’t work anymore?
Deprecated means they (Roblox) are removing support for those functions in favor of TweenService; eventually, those functions could be removed, so they are encouraging developers to stop using those. It also means that any new features could not be compatible with deprecated functions, maybe the exponential ease, was newer and is not supported by those deprecated functions, and an older ease like “linear” is supported.
I used exponential in another script a couple months ago and it worked fine. That sucks that they’re ending support for it, I don’t understand why. It was so simple to use.