Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Help with ROBLOX Screen resolution?

Asked by 10 years ago

I'm making a lot of GUIs for my Gui game. I seem to have stumbled into a problem where if the Gui background is covering all of my screen, but only covering 3/4's of my friends screen. On his screen everything is misplaced and out of position. On my screen it looks just fine..

How would I adjust GUIs to fit everyone's screen no matter what monitor resolution they have?

2 answers

Log in to vote
0
Answered by 10 years ago

You may have noticed that the Size and Position properties of all GUI objects have a space for 2 separate values for each dimension, looking like: {0, 100}{0, 100}. The first space in each set is called "Scale" and sets the size of the GUI object based on the screen size automatically. Use that whenever you need a GUI to always be a certain percentage of the screen size.

1
So for example a GUI Frame with a Size value of {0.8, 0}{0.5, 0} will take up 80% of ANY sized ROBLOX window in the X-dimension and 50% of the window in the Y-dimension deaththerapy 60 — 10y
0
Thanks!! This brought up SO much clarity! IntellectualBeing 430 — 10y
Ad
Log in to vote
0
Answered by
istiyak 13
10 years ago

It depends what device your friend is on, if your friend is on mobile then it's obvious that everything is going to be mixed and not properly placed. Or it could be something on your screen GUI. But I'm not sure.

Answer this question