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
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
API
:play(waitTime: number)
return nil
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
1.0 - September 17, 2022
Launch
Bug Fixes
FEEDBACK
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.
I donât understand what youâre trying to do with this structure, but you can check out how I have set up my transition screen with the following file:
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.