misumaki
(misumaki)
January 2, 2023, 10:44pm
#1
I tried making the UIStrokes rescales and when I first start the game it rescales perfectly to the viewport, but when the I resize roblox the UIStrokes stay the same and get bulky. Can anyone help me with this problem?
Maybe you’re looking for this resource:
PROBLEM
Simply…UISTROKES ARE THE PROBLEM!
After its release, there have been many complications using UIStroke in projects. UIStrokes don’t properly scale relative to screen resolution (devices) nor relative to camera distance on BillboardGuis. To counter this issue, I created the “UIStrokeAdjuster” module!
BEFORE UIStrokeAdjuster
AFTER UIStrokeAdjuster
SOLUTION
Features
Effectively uses CollectionService
Automatically recursively tags ScreenGuis and BillboardGuis i…
xDeltaXen
(xDeltaXen)
January 9, 2023, 10:52am
#3
local function rescale(scaling)
for _, v in pairs(game:GetService(“CoreGui”):GetChildren()) do
v.Scaling = scaling
end
end
workspace.Camera.Changed:Connect(function()
rescale(workspace.Camera.ViewportSize)
end)
system
(system)
Closed
January 23, 2023, 10:53am
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.