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

How do I make a GUI always be at the bottom of a screen regarding computer screen size?

Asked by 10 years ago
    I want to be able to make those black borders at the top and bottom of a screen like in a movie. I got the black GUI bars and all I need to do is position them. The GUI that goes on top is                     "Position = {0, 0},{0, 0}". It has been tested that it will be at the top of any screen regarding the size.
    Now when I tried positioning the bottom GUI to the scale of the bottom of MY screen, it worked, but on my brothers computers, which has a different screen, the GUI is not at the bottom of HIS screen. 
    How do I make a GUI always be at the bottom of a screen regarding computer screen size? I have seen it happen in Daniel K's place called "Furniture Showcase [WIP]"
0
^ Why did my paragraph go in script mode? I did something wrong..... LitoTech 35 — 10y
0
Just use {This, 0},{This, 0} in Size and Position. For what you're doing, the position should be {0, 0},{0.9, 0} Lacryma 548 — 10y

1 answer

Log in to vote
1
Answered by 10 years ago

Your position would be:

{0,0},{1,-OFFSET_HEIGHT_OF_FRAME}

That sets the scale to 1 (Bottom of the screen)

However, this makes it go off the screen, so you want to change the Y Offset to negative the offset height of the frame, bringing it back upwards.

0
@Basswobble Okay so I got everything when it goes off the screen. I didn't get the"change the Y Offset to negative the offset height of the frame" Can you explain were I can find that on studio and change it? LitoTech 35 — 10y
0
@Basswobble Nvm I got it to work! Thank you very much! :D LitoTech 35 — 10y
Ad

Answer this question