generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Placing GUI frame in bottom right

Previous Thread :: Next Thread 
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 10:59 AM
Hello, GUI positioning has always been my enemy.
How can I place a GUI frame with the size of {0, 140}, {0, 110} in the bottom right corner of every screen without variations in screen size?


~Keep the Earth below my feet.~
Report Abuse
anthony4444444 is not online. anthony4444444
Joined: 25 Dec 2008
Total Posts: 5577
18 Aug 2013 11:04 AM
i think its {0.850000024, 0}, {0.810000002, 0}

if not, mess with it a bit >using decimals<
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 11:04 AM
Bumo

~Keep the Earth below my feet.~
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 11:06 AM
othx... I shall try...


Yes, this seems about right

May I ask how you calculated it?

~Keep the Earth below my feet.~
Report Abuse
anthony4444444 is not online. anthony4444444
Joined: 25 Dec 2008
Total Posts: 5577
18 Aug 2013 11:10 AM
nvm, {0.835000038, 0}, {0.805000186, 0} is better than my last position

all i did was change the decimal to random numbers around the end, like {0.8, 0}, {0.8, 0} then i just messed with the numbers a bit
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 11:11 AM
Alright, thanks a lot.

~Keep the Earth below my feet.~
Report Abuse
eXoguti093 is not online. eXoguti093
Joined: 17 Oct 2008
Total Posts: 1786
18 Aug 2013 11:11 AM
{1,-( 140)}{1, -(110)}

so {1,- gui.Size.Offset.X}{1,-gui.Size.Offset.Y}
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 11:20 AM
Thanks eXo, this is much more useful :D

So, just for future knowledge...

How would I center it?
Top right? Bottom Left?

~Keep the Earth below my feet.~
Report Abuse
eXoguti093 is not online. eXoguti093
Joined: 17 Oct 2008
Total Posts: 1786
18 Aug 2013 11:25 AM
Center = {0.5,-(140/2)} {0.5,-(110/2)}

Top right is the same as bottom but without the 1 on the Scale Y part, and bottom left is without the 1 on the Scale X part.
Report Abuse
eXoguti093 is not online. eXoguti093
Joined: 17 Oct 2008
Total Posts: 1786
18 Aug 2013 11:26 AM
So if instead of 1 just put 0 and it won't move it except for the Offset which is it's size so it's visible.
Report Abuse
dmjoe is not online. dmjoe
Joined: 01 May 2009
Total Posts: 2387
18 Aug 2013 11:34 AM
Thank you so much.
I've always hated fiddling with GUIs

~Keep the Earth below my feet.~
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image