This is a module that you use to create cartoony transition screen. One of the most important aspect to have in simulator games or roleplay games are circular transition screens. It looks simple but elegant. This module will create a transition GUI, and play the animation. Hope it helps!
You can paste this Example Code in the LocalScript for test
[Details = “Example Code”]
local Module = require(game.ReplicatedStorage.CircularTransition).new(game.Players.LocalPlayer) -- Calling the module
local WaitTime = 3 -- Seconds
Module:play(WaitTime) -- Play the animation
local Module =
require(game.ReplicatedStorage.CircularTransition).new(game.Players.LocalPlayer) -- Calling the module
local WaitTime = 3 -- Seconds
Modudle:play(WaitTime) -- Play the animation
.getScreenGui()
return ScreenGUI
local Module =
require(game.ReplicatedStorage.CircularTransition).new(game.Players.LocalPlayer) -- Calling the module
Modudle.getScreenGui() -- Returns transition ScreenGUI
Please reply to this post, it would help me a lot. You can comment on my work, or I need to fix any bugs, or even just want help. I will be updating the module.
Oh no lol, I just used the roblox-ts playground to generate the lua class script, but now that u mentioned I will try to work on uploading an NPM package for this.
I made a better version (personally I think it’s better). Change the image to “rbxassetid://72813522573875” and add a UIStroke with the size to 999999.
Now all you have to do if make a function which scaled is to UDim.new(0.0008, 0, 0.0008, 0) in and UDim.new(3, 0, 3, 0) out.
Yeah, I have seen this new method. I made this quite a long time ago, and decided to make it public quite some time after I made it. From what I have seen, the UI stroke method seems to work better.