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

How to center a GUI according to the players screen?

Asked by
sheepposu 561 Moderation Voter
5 years ago

So I made a start menu but it's sometimes too big too small, the buttons and text are off the screen. I centered it by setting the Anchor Point (0.5, 0.5). I set the positions to {0.5, 0},{0.5, 0} and edited it according to where they should be positioned. The frame didn't cover the screen so I enlarged it. After that the text was off the screen. I don't know what to do so can someone help me?

1 answer

Log in to vote
0
Answered by 5 years ago

First of all you should resize it by entering into the size property {0.1,0},{0.1,0} this will size it to 10% of the screens width. Next your gonna wanna resize it using roblox instudio gui transforming. Then position it dead center. Then you have it. Also its best to use scaling of {0.1,0},{0.1,0} then resizing and repositing all of the text and image buttons you may have. This scales the size according to the players screensize and positions it the same way.

Ad

Answer this question