defaultio’s richtext module is not user-friendly and i’m a little baby about it so i made my own
it’s not the absolute best, but it’s a good balance between complexity and ease-of-use
(edit: that input animation is customizable)
this is my first module so don’t expect anything over the top, i was just annoyed ab coding this into every one of my games
it also comes with a built in manual so you can get started easily
i haven’t done any over-the-top testing so it may not work with multiple lines, but who knows
hola, i’m seeking an alternative to defaultio’s rich text module because the problem i have is that it doesn’t scale correctly. for example, when the text plays out, and you resize the window, the text/frames do not scale to the current window size.
and since i’m guessing it’s been discontinued (hasn’t been updated in years), i’m using your module, but however it also doesn’t scale to frame size. are you able to add some sort of support for it in the next update whenever you are able to?
EDIT:
nevermind i think i was able to fix it on my own mbmb ಥ_ಥ
BUT ANYWAYS APPRECIATE THE MODULE! keep up the good work
uhh i ended up actually just forking the rich text module because it had features, which was the multiplie lines automatically calculating in the frame. maybe in the feature i might try making my own text module but just modify it
Bump + I really like this module, I can tell you put effort into this, I think this is probably one of the best text modules in Roblox so far just cuz of its ease to use lol.
Also it has a lot of features and I really like the chroma feature.
You have to put SwagTextModule in ReplicatedStorage, and the GUI is just the manual/documentation on how you format your text. You can put the gui back in the module when done with it.
The way it works is that it writes text over a Frame/empty TextLabel, simply make one and insert a LocalScript inside it. You can use this example script as a test:
local SwagText = require(game.ReplicatedStorage:WaitForChild("SwagTextModule"))
-- Refers to ModuleScript
local use = "normal, <red>red</red>, <blue>blue</blue>, <color=#00ff00>green</color>, <bold>bold</bold>, <italic>italic</italic>, <red><bold><shake>impact</shake></red></bold>, <warp><rainbow>chroma</rainbow></warp>, <color=#aaaaaa><pause=0.5>slow</pause></color>"
-- An example string. The <tags> are there so you can identify which text needs decoration.
SwagText.AnimateText(use, script.Parent.Frame, 0.04, Enum.Font.Arial, "fade diverge", 1, nil, nil, nil, nil)
-- AnimateText is the function to write text. The syntax goes in this order [string, which frame, delay time, font, mode, word mode, text size, ahori, avert, extra, verbose]
wait(3)
SwagText.ClearText(script.Parent.Frame)
-- ClearText is the function to remove all text created by SwagText