Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to have buttons be perfect for all screens?

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?

2 comments

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?

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.

2 answers

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

2 comments

0

I used scales previously and they were even more out of place than Offset.

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

This discussion is preserved as it was. New answers, comments, and votes are closed.