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

How to have buttons be perfect for all screens?

Asked by
emite1000 335 Moderation Voter
10 years ago

So I have GUI buttons on the menu for my game. In Studio they look fine and in just the spot I want them, but when I test it out in the ROBLOX Player fullscreen, they are in slightly different locations. I have them positioned only using the Offsets. So how do I position them so they look the same on every person's screen?

Also, is there a way to test a game fullscreen while in Studio?

0
Do you mean like if it was 500 to the side and 400 down it would be 10x10 away from the bottom right corner but in game it's further away? VariadicFunction 335 — 10y
0
Pretty much yes. I have all the buttons x amount of pixels from the bottom of the screen when in Studio, but when I test it out full-screen there is more of a space between the buttons and the bottom. emite1000 335 — 10y

2 answers

Log in to vote
0
Answered by 10 years ago

to make it look the sameon all screen use scales.. for example if you want a frame in the center of a screen the scale would be .5 wof x and .5 for y the number ranges from 0-1, 1 being all the way to the right or all the way down, 0 being all the way to the left , all the way up

0
I used scales previously and they were even more out of place than Offset. emite1000 335 — 10y
0
are you sure, when i use scales it seems fine, have u tries making a frame 1 by 1 and then putting everything like textbuttons etc inside that 1 by 1 frame, it should work namelessassasin 30 — 10y
Ad
Log in to vote
-1
Answered by 10 years ago

I wonder this too, thanks.

Answer this question