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

How to make a gui not be messed up and misplaced when played on another device?

How do I make a gui not be messed up and misplaced when played on another device?

1 comment

0

Code?

1 answer

I know, I know. I HATE it too. The only way to make it not messed up is to use scale. on ~~~~~~~~~~~~~~~~~ UDim2.new(xscale, xoffset, yscale, yoffset)

. you have to `position `AND `size` with `scale`. Drives me crazy. My `guis` fit on phone but not computer, and if I `scale` on computer too small it makes it WAY to small on phone. But there is an escape. For example, you can use `UILayouts` (research these). `GridUILayouts`, `UITableLayouts`, `UIListLayouts`, `UIPadding`, etc. it might be a bad method to use them for `positioning`, but it is the only way to `position` everything sometimes. Try them out, and they might work. Like i said, bad method, but if you REALLY have problems, you can just use a ton of them and make them collaborate with eachother to `position` your stuff properly.

I hope this helps, DominusINfinitus

1 comment

0

this is not code, but can be helpful

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