As my first open source module, I introduce the LocationTitle module to make developing just a bit easier. Below is a demo of the module in action.
local locationTitle = require(game.ReplicatedStorage.LocationModule)
locationTitle:Start("Your Text Here")
How to Customize Your GUI:
Within the module, there is a template for a GUI, which acts as the default GUI. Your custom GUI must include:
A Frame, named “MainFrame”
A TextLabel parented to MainFrame, named “LocationLabel”
To add more Frames or ImageLabels that change in size, for right now you can only change the size, you need to:
Add a boolean attribute named “enabled” and check it to be true
Add a UDim2 attribute named “sizeOpen” and set the value to the size that you want
Add a UDim2 attribute named “sizeClose” and set the value to the size that you want to Frame/ImageLabel start off as and what it closes to
Set the size of the Frame/ImageLabel to the sizeClose value
To configure the settings of the script:
TweenLengthOther = number, -- Time it takes for the beginning bars to fade in
TweenLengthText = number, -- Time the text takes to fade and the fade-out time
GUI = Instance, -- For Custom GUIS
TextFont = Enum.Font.Name, -- The font you want it to be
SongId = "rbxassetid://soundid" -- Change the sound
Volume = number, -- Change the volume
I shall be updating this more to add more features and making it easier to use. Please leave some feedback below if you have any.
This looks great! I think the speed of the actual reveal should be more faster. Players don’t have that kind of attention span but try not to lose quality and animation throughout. overall, great work!
Much like @Sconser said, I would love to know how to get variations of this to appear based on where you are in the map.
For instance, if I enter the city area it will say “City” and when I enter the forest it will say “Forest”.
Is this possible and if so, how would one go about making it happen?