Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I Ensure my ScreenGUIs are Consistent Across Screen Sizes?

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.

2 answers

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}

This discussion is preserved as it was. New answers, comments, and votes are closed.