How to make font size relative to all clients screen size.
1 replies, posted
Hello, I am making a timer and I need to make this font look the same for every client that sees the timer label. So I need to make the way 50 pixels look on my screen equal to how and x amount of pixels looks to another. Any help would be greatly appreciated.
surface.CreateFont( "PurgeFont", {
font = "Trebuchet MS",
extended = false,
size = 50,
weight = 500,
blursize = 0,
scanlines = 0,
antialias = true,
underline = false,
italic = false,
strikeout = false,
symbol = false,
rotary = false,
shadow = false,
additive = false,
outline = false,
} )
I have examples of what I am talking about. By the way, I have the frames and stuff set up to be the same for everyone already. I only need to do the text size.
This is what it looks like on my screen. That is 1920, 1080
https://cdn.discordapp.com/attachments/482019671210590210/484811616903495690/unknown.png
Compared to my friends screen. I do not know my friends resolution.
https://cdn.discordapp.com/attachments/482649008918102027/484951876312367126/unknown.png
ScreenScale
Sorry, you need to Log In to post a reply to this thread.