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

How can i fit this GUi on all resolutions on max screen ?

Asked by 3 years ago
Edited 3 years ago

Hello, so basically i m doing a loading screen but i can t really understand how i can make it to fit on all resolutions on full screen, if i change the size it will be only on my resolution full screen and on another PC with lower resolution it would have places where it wouldn t be the gui

0
on the size do 1, 0, 1, 0 or 0, 1, 0, 1 memekarmhimal 10 — 3y
0
I did this but it s still a gap on the top, like where is the topbar, i set it to TopbarEnabled false and now i can see the world in that gap. Hate_ZEU 47 — 3y
0
set the size to 1.1,0,1.1,0 and position it to -.1,0,-.1,0 greatneil80 2647 — 3y

2 answers

Log in to vote
0
Answered by 3 years ago

I see you are not really familiar with the gui stuff. So, you need to learn what it is.

Basically what you do want to do is to set the top frame Size property to {1, 0},{1, 0} (or UDim2.new(1, 0, 1, 0) in the script). If you want to make the frame cover an ENTIRE screen, set a ScreenGui.IgnoreGuiInset to true so no more topbars.

I see you probably don't understand what is Scale and Offset and just a Size property in general so I highly suggest you to use the official Roblox Developer Hub, just search an object you are having issues with and find the property you are wondering what it is. You can also see some hidden properties and functions. For this thread I suggest you to check what is a size property in gui objects and just check other gui related objects there, it's useful.

I also had this problem when I just started learning roblox studio. Just don't be shy and use roblox devhub bc it's the best source of useful info, especially for new people who have no clue how to code.

0
Ohh, thank you so much ,this answer was so easy to understand, all i needed was the IgnoreGuiInset, i`m actually pretty advanced in roblox scripting but i still got some things to learn that i didn`t work with in the past, thank you a lot ! Hate_ZEU 47 — 3y
Ad
Log in to vote
0
Answered by 3 years ago

I'm not quite sure what you mean by max screen but I am guessing you are talking about full screen. To make it fit all devices you need to set the Offset property to zero. The only issue is that you need to remake your GUI with the new offset.

1
tysm Hate_ZEU 47 — 3y

Answer this question