|
| 02 Sep 2015 03:41 PM |
Can someone explain how to do so? I'm making a GUI for a game, and I really need to make it so the GUIs scale to make sure the GUI will look good on every display.
The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726 |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 03:55 PM |
UDim2.new([0],0,[0],0) The bracketed numbers are the scale, as in portion of the screen a GUI takes up. for example, a GUI with the size UDim2.new(1,0,1,0) would cover the whole screen. Likewise, UDim2.new(.5,0,.5,0) would be half a screen wide and half a screen tall. |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 04:06 PM |
The two zeros that aren't in brackets, do I replace them with the original coordinates of the GUI?
The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726 |
|
|
| Report Abuse |
|
|
|
| 02 Sep 2015 04:26 PM |
Also, do I put that into a script that I would put in the GUIs?
The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726 |
|
|
| Report Abuse |
|
|
|
| 04 Sep 2015 05:02 PM |
The non bracketed zeros can be left alone, unless you want to change size or position by exact pixels.
|
|
|
| Report Abuse |
|
|
|
| 04 Sep 2015 05:03 PM |
| No script is needed, just the size and position properties of the gui. |
|
|
| Report Abuse |
|
|