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

How do I make a GUI resized for mobile?

Asked by 4 years ago

I'm making a game and like every game, it has GUI. The problem is that the GUI on PC is perfectly fine but on mobile it goes off the screen. How do I solve that?

3 answers

Log in to vote
0
Answered by 4 years ago

There is this helpful plugin that I use called "AutoScale GUI", basically you have to select everything in your gui and scale the size/position using the plugin, it's fairly intuitive to use. https://www.roblox.com/library/1496745047/AutoScale-GUI

Ad
Log in to vote
1
Answered by 4 years ago

You need to set the offset of the size to 0,0 for both X and Y

0
I can't find the property offset mattking71 29 — 4y
0
It isn't called offset. It's the size property. It has 2 different things that look like this {x, x}. The second number is the offset, and having an offset messes with where it appears on different screen sizes. Simply scale it with the first number and it should work fine. eyeball001 7 — 4y
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

If you want to scale both for pc and mobile, simply set the off set property in the size option and position also to 0,0,0 (This mean you have to rescale it using the other optio (i think it is scale)) No plugin needed for this method

Answer this question