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.
Demo:
Basic Usage:
local locationTitle = require(game.ReplicatedStorage.LocationModule)
locationTitle:Init({})
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:
module:Init({
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
})
Roblox Release:
Uncoplocked Demo:
Github Release:
Conclusion
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!
Might need more clarification on usage. How is the UI called in different locations?
I suggest open sourcing a place for better understanding of implimentation.
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?
I would greatly appreciate that as this is something I would love to include in a project of mine.
The YT tutorial is completely up to you, but might help other people out as well so.
Sorry for the long wait but I’ve created a sample place for some basic possibilities that the module could be used to make.
Minor update to the module as well because I noticed that the module would make new GUI instances in the PlayerGui every time the settings were changed.
That’s completely up to you, but I would appreciate if you dm me the game when you’re done! I’m curious to see how other people use this in their games!
This is amazing! I’m using it in my free roam-style horror game. It’s perfect for area reveals.
Thank you so much!
You will be placed in the credits, don’t worry.