I am making a game with many ScreenGUIs, frames, and frames within other frames. How would I go about making sure all of them adjust to accommodate different screen sizes? I need it to work for things that aren't necessarily touching edges or corners either. Thanks in advance.
Scaling size instead of offsetting it. The scale is the first parameter of both Size
and Position
, setting the scale to 0.5 will make the object half as wide as the screen. I assume you offset instead of scale them so it might look a bit weird for different devices.
This is a visual representation of the properties:
(X Scale, X Offset, Y Scale, Y Offset)
One thing to keep in mind is that Text has a max size so it wont enlarge past a certain point.
Like thé answer above, instead of the position being {0,250,0, 100}, change the 0’s to the second value if that makes sense Here’s an example of what I’m trying to say: {0.25,0,0.1,0}