FloatingTextModule

I made a displayed text system similar to that of Limbus Company’s floating text during boss fights.
It was inspired by Defaultio’s RichText Module.

It is easily customizable and very easy to use.
As for the settings, you can have two types of floating text:

Billboard Text:

This version of it is rather wonky due to how billboards work and also the fact I somewhat rushed it.
I may improve on it, but currently I’d only recommend it if the player is going to face one direction for a while. It uses an attachment and billboard GUI to position the text label.

Surface Text:

This version of it is more dynamic and interesting in my opinion. It uses a part that is positioned
randomly and faces the player camera and a surface gui to render the text.

Stick setting: There is a setting to make the Text stick to the same position on your screen, which is useful for the billboard GUI as it makes it less clunky. Nonetheless, It’s a little odd for the
surface GUI at certain angles.

And here is the model, it includes a example usage of this.
https://create.roblox.com/store/asset/89220526814701/DisplayedText

This is my first open source model, I hope you all can use it to further your games UIs.
If there’s enough interest I may update it to include more stuff.

9 Likes

This is a sick concept. It would be interesting to see how games could implement something like this.

1 Like

How does the surface text version handle performance if you’re spawning a lot of these at once? Spawning parts and GUIs for every single text pop-up sounds like it could get heavy pretty fast.

1 Like

SurfaceGUIs are not BillboardGUIs, they are a lot less performance taxing. It really depends on how many you use with this module. SurfaceGUIs do not render if you don’t face them. This module can get performance-taxing, but from my testing, it seems to only be like this if you spawn hundreds of them and have the text set to something with 20+ characters.

It’s rather negligible in the example I used (No frame drops). As for the BillboardGUIs option, I wouldn’t recommend it if you want to keep performance up. Furthermore, If you spawn hundreds of them with a text with less than 5 characters, even then it’s rather negligable.

1 Like