I have an issue with my TextLabel. It appears as quite pixelated because I have enabled RichText, as the default text isn’t large enough for what I am aiming for.
Is there a different way of scaling the text up without needing RichText?
I have an issue with my TextLabel. It appears as quite pixelated because I have enabled RichText, as the default text isn’t large enough for what I am aiming for.
Is there a different way of scaling the text up without needing RichText?
RichText lower text’s resolution. You have to stick with low quality or low font size. Or you can use images.
Well that’s an annoying limitation. After all these years the largest text size is still minuscule lol.
Thanks for letting me know.
It indeed is. One way you could fix this WITHOUT having to use images (I just thought of it now btw) is to use surface appearance on a part which is in front of the camera at all times.
Here is a post to make a part the size of the camera.
Example:
local p = Instance.new("Part")
p.Parent = workspace
p.Anchored = true
p.CanQuery = false
p.CanTouch = false
p.CanCollide = false
p.CastShadow = false
p.Transparency = 0.5
local cam = workspace.CurrentCamera
local rs = game:GetService("RunService")
rs.RenderStepped:Connect(function()
local pos = cam :ViewportPointToRay(cam.ViewportSize.X/2,cam.ViewportSize.Y/2,1)
local height = math.tan(math.rad(cam.FieldOfView/2)) * 2
local width = (cam.ViewportSize.X / cam.ViewportSize.Y) * height
p.CFrame = CFrame.new(pos.Origin,pos.Origin+pos.Direction)
p.Size = Vector3.new(width,height,1)
end)
(Manually added a surface GUI, make sure to set it’s pixels per stud property according to your needs.)
Oh cool, ill try this out!
words
words
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.