Hello.
Recently, I noticed that players with larger screens/displays have a problem or get annoyed by large GUIs.
Currently, I’m using “scale” so it’s the same on all devices, but I still want to solve this problem.
I know, there’s offset, but I don’t know how to properly use it?
I’m wondering:
how do you solve this kind of “issue” in your games,
and what would be the best way for me to solve it.
So Offset will measure in Pixels. This will be the same for every single device.
Scale measures in percentage. It will grow/shrink based on the dimensions of the screen. If you do a 0.5 x 0.5 scale that would be half of the x axis by half of the y axis. Relying solely on this means that square buttons will become rectangular on some devices.
You can use a UIAspectRationConstraint in order to lock it to a certain aspect ratio and use scale. That way it will always try to rescale itself to the device and it will also stay the same shape.
You do not need any plugins for doing this and you can do the math yourself, but again this is one of those problems with virtually infinite solutions.
Thank you so much for your help!
But, I already know about scale. I’m basically asking how would I make GUIs smaller on large displays, and normally big on average displays. Are there any plugins for it?
Again, UIAspectRatioContraint and UIScale are your best options for doing it natively. UIAspectRatio allows you to make it look nice and normal on smaller displays at the same time as big displays.
There are plugins that just insert a UIAspectRatioConstraint for you if you want. There’s millions of AutoScale plugins such as this one.
This is unavoidable without a custom leaderboard. Usually for Position you should use either only scale or scale and offset. (Never just offset unless you’re creating it dynamically)
This is something that really isn’t too big of a problem. Most of the time it’s ok to leave UIs independent of the default Roblox UIs. If you’re talking about the rounded corners, however, then it’s pretty much just a matter of using offset for the Size as for those it’s best to be pixel accurate (only if it’s a requirement that your UI stays consistent).
TL;DR: You shouldn’t worry about that. Just ignore the default Roblox UI and make your own if absolutely necessary