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

ScreenGui's in Studio differ from in-game?

Asked by 7 years ago
Edited 7 years ago

I usually use a Frame with

UDim2.new(1, 0, 1, 0)

and then add all other components under the mainframe that contain a UDim of

UDim2.new(0, x, 0, x)

but it doesn't seem to work, and screws up.

I am really not fond of how the scaling and pixel size system works.

0
You're not really specifying anything. Is the first new UDim2 size, or position? Is the second size or position? What's your issue? What defines x? AstrealDev 728 — 7y
0
All are sizes, x represents any real number. MexicanGod13 6 — 7y

1 answer

Log in to vote
1
Answered by
RubenKan 3615 Moderation Voter Administrator Community Moderator
7 years ago

This happens because the screen you're using in studio is smaller then the only you're using online. While testing how your gui looks you should always check if it fits in various sizes.

0
Various sizes of what? Is there a way to portray the in-game screen size on studio? Any specific scale or pixel size? MexicanGod13 6 — 7y
0
Various sizes of windowsize. Drag it out of the studio window and resize it. RubenKan 3615 — 7y
0
Thanks. MexicanGod13 6 — 7y
0
Mind clicking the accept answer button below here if this helped you to a solution? Cheers :D RubenKan 3615 — 7y
Ad

Answer this question