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

Is there a way of accessing the players full size screen at ALL times?

Asked by 7 years ago

Just the same question here.

Is there a way of accessing the players full size screen at ALL times?

0
yes User#5423 17 — 7y
0
I'm not totally sure what you mean, but the offset of a GUI always works with calculating the player's screen size and puts the GUI size in proportion. Although I'm not sure why you'd want to find the real pixel size of a player's screen when you can just use the offset. Troidit 253 — 7y
0
I need to make a script where a GUI is positioned half of the screen in x scale and 3.3/4 in y scale at all times. So I need to access the full size of the players screen. For x, divided by 2(for half) and y divided by 3.3 to make the gui go almost at the bottom of the players screen and half of the players screen in x axis. Can you help me with that? dakanji123 97 — 7y
0
When positioning or sizing a GUI, you have for different parameters for position/size options, one half is the X and one half is the Y {0,0},{0,0}. The first zero in both pairs calculates the scale which is a % of 100 (or 0 to 1). The second half of each pair is the offset. This means that if you set the GUI position to {0.5,0},{0.5,0} The GUI will be positioned in the center of the player's scree Troidit 253 — 7y
0
(wasn't sure if that was an answer or not, so I commented it) Troidit 253 — 7y

Answer this question