550GB
|
  |
| Joined: 05 Jan 2014 |
| Total Posts: 414 |
|
|
| 03 Oct 2016 07:33 PM |
| Every time i try different screen resolutions the GUI will either be resized weird or be off the screen completely. Is there a way to fix this? |
|
|
| Report Abuse |
|
|
KreoBox
|
  |
| Joined: 24 Aug 2016 |
| Total Posts: 356 |
|
|
| 03 Oct 2016 07:37 PM |
Use scale.
{ScaleX, OffsetX}, {ScaleY, OffsetY} |
|
|
| Report Abuse |
|
|
550GB
|
  |
| Joined: 05 Jan 2014 |
| Total Posts: 414 |
|
|
| 03 Oct 2016 07:43 PM |
| For both GUI size and position? |
|
|
| Report Abuse |
|
|
Smeers
|
  |
| Joined: 14 Feb 2013 |
| Total Posts: 797 |
|
|
| 03 Oct 2016 07:55 PM |
You can use Scale in UDim2 values, aka the value that appears as {0,0},{0,0} in Studio. Scale values are more understandable when used with numbers 0-1, so making the size of an object {1,0},{1,0} would make it cover the whole screen, and making it {0.5,0},{0.5,0} would make it cover half of the screen. Changing position applies for this as well.
|
|
|
| Report Abuse |
|
|
550GB
|
  |
| Joined: 05 Jan 2014 |
| Total Posts: 414 |
|
|
| 03 Oct 2016 07:58 PM |
| Oh I see! Thank you this helped a lot. |
|
|
| Report Abuse |
|
|
Smeers
|
  |
| Joined: 14 Feb 2013 |
| Total Posts: 797 |
|
|
| 03 Oct 2016 08:00 PM |
No problem! Check out these wiki pages if you need any more assistance:
http://wiki.roblox.com/index.php?title=UDim2 http://wiki.roblox.com/index.php?title=The_Fundamentals_of_Scripting_with_GUIs
|
|
|
| Report Abuse |
|
|