This module UIStrokeAdjuster looks great, I’ve used it in my game for a little while now. There is no problem with the module, except for the specific problem I’ve faced during usage of the module UIStrokeAdjuster.
The farther the camera is, the less noticeable the TextLabel stroke is. The scaling is pretty consitant (good job!). However, it only gets less noticeable, is it possible for us to manually adjust the thickness at certain camera distance (or done automatically if possible) just like in Pet Simulator 99, all the TextLabel in billboard is scaled relative to the camera distance but also is adjusted depending on how far the camera goes.
Roblox already does this, it’s just that it does too much. I wish to only adjust the thickness at certain distance and not higher.
Regardless, this module UIStrokeAdjuster is pretty good! I’d recommend it for anyone reading here!
No, I mean like a fixed thickness scale for certain distance, (look carefully at the billboards in PS99) the scaling stays same when you are moving closer or far but when you move very far, the thickness should be set to fixed bigger one.
Basically, switch from static scaling (staying same no matter where you go) to automatic scaling (based on the certain distance).
For example, if the distance between you and the billboard is like ~3 then the billboard would be set to 5.
If you go far or closer, the scaling would be same anyway but if you go like above ~10, the billboard thickness shouldn’t scale the same and instead would be set to 8 (and will stay that way until you get close enough).
hey, i know that this is pretty old, but it’s not working for me? It does not scale billboardGui’s on my side, and i have done every step. the adornee is set and everything
You could rewrite the script yourself. Insert the billboard guis into a table and loop through them every few frames or something, if at those distances then set the thickness of all descendant uistrokes
drag the uistroke adjuster in starterplayerscripts, make a local script, put it in the local script, and in the local scripts put local UIStrokeAdjuster = require(script.UIStrokeAdjuster) and use tags to tag everything you want to be affected with “ScreenGui”. search up how to tag stuff if you dont know how to do it