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

How do you resize a GUI to a screens position?

Asked by 5 years ago

I have a Shop GUI, and when the screen gets smaller I want the GUI to shrink to reposition and resize to the screens current position. But when I try to do something it never works. My frame is 500 x 400 and I want it to shrink on smaller devices or get bigger on a bigger screen! I try to make scripts but there just aren't any that work out!

3 answers

Log in to vote
0
Answered by
Prestory 1395 Moderation Voter
5 years ago
Edited 5 years ago

Click the link below to learn

https://www.youtube.com/watch?v=53Xhim0HUU4

Or you can use this plugin

https://devforum.roblox.com/t/plugin-auto-scale-for-guis/217704

0
press install on it and it should open up studio for you then when studio is open hit install on the plguin Prestory 1395 — 5y
0
press install on it and it should open up studio for you then when studio is open hit install on the plguin Prestory 1395 — 5y
0
Thanks N1ckSm17h -3 — 5y
Ad
Log in to vote
0
Answered by 5 years ago

https://imgur.com/IxDhBl7

You change those offsets, not the ones in front of it. I had tons of trouble with this too, but I eventually found out how to do it.

The coordinates I highlighted in the imgur are the ones you're meant to change to make it the same size on all platforms/devices.

You should have the coordinates after the highlighted ones to 0 - just like in the image. Also it is completely different to scale. Offsets are usually done in decimals. 0.5 in width is almost half the screen in scale - whilst 500 in width is almost half the screen in scale.

I hope this has helped. If you're still having trouble, reply to me and I will send a video of me doing it - to provide a briefer explanation.

Thanks, TheOnlySmarts.

Log in to vote
0
Answered by 5 years ago
Edited 5 years ago

Answer this question