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: How to get the Center of the screen?

Previous Thread :: Next Thread 
InternetGuy is not online. InternetGuy
Joined: 28 Apr 2010
Total Posts: 3385
03 Jan 2014 10:30 PM
Using ScreenGUI, I want to create a window to be in the middle of the screen, no matter what the Users resolution/screen size is.
Any help?
Report Abuse
InternetGuy is not online. InternetGuy
Joined: 28 Apr 2010
Total Posts: 3385
03 Jan 2014 10:31 PM
Oops, I meant BOTTOM center of the screen, as the Minecraft inventory is located. (just an example)
I think it's related to Absolute Position or something
Report Abuse
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
03 Jan 2014 10:32 PM
Position of the gui: (.5, 1/2 of the gui's size on the x axis), (.5, 1/2 of the gui's size on the y axis)
Report Abuse
InternetGuy is not online. InternetGuy
Joined: 28 Apr 2010
Total Posts: 3385
03 Jan 2014 10:34 PM
That came out WAY off =/
Report Abuse
tuxedoman23 is not online. tuxedoman23
Joined: 24 Apr 2009
Total Posts: 4670
03 Jan 2014 10:53 PM
What's the size of the gui? Is everything in a frame?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
03 Jan 2014 10:55 PM
close tux

.5, -1/2 of object's size, .5, -1/2 of object's size
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