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

I think this might be a GUI Placement Error?

I don't know if this is much my fault, as it is the game's but hopefully there's a solution. So basically, when you first join my game, there's suppose to be 2 gui's on screen, and that's all. The Intro, and the intro skip button. This is how it looks on studio, but not on the game. When I load into my game, the Intermission Bar GUI for my game, is also on screen. I've tried changing the alphabetical order of the gui names, and deleting one, and putting it back in, but it's not working. Can someone please help?

2 comments

0

Are you using scale or offset?

0

Use scale

1 answer

Like what TheRevealerYT said, there are two options you have for sizing/positing GUI elements. There is Offset and there is Scale, you can think of offset as pixels on your screen, and scale as a percentage of it. Offset is not recommended to use because everyone's screen is a different size. While your screen might be 1000 pixels across, someone else's might only be 500, and if your GUI is positioned at 750 pixels, the person with 500 pixel screen will not be able to see it. That is why it is prefered to use scale since it adjustes to all screen sizes. It ranges from 0-1 (0%-100% of the screen). So if you placed a GUI at 0.5, it would appear in the same place whether you were on a 70in flat screen TV, or an IPhone 10.

In terms of your problem, if you are positioning things offscreen so people can't see them, or in particular places using offset, the studio editor borders make your screen smaller, so if you think something is off your screen, when you go to actually test it in a real server, the borders will be gone, and you will likely still be able to see it.

So the short answer, convert your GUIs to scale.

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