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 » Scripters
Home Search
 

Re: GUI Positioning

Previous Thread :: Next Thread 
oOMrWonderfulOo is not online. oOMrWonderfulOo
Joined: 12 May 2012
Total Posts: 163
24 Apr 2016 05:09 PM
Im not using scripting to make my GUI, I Want my ImageLabel Directly in the Middle of the screen how do i do this?
Report Abuse
oOMrWonderfulOo is not online. oOMrWonderfulOo
Joined: 12 May 2012
Total Posts: 163
24 Apr 2016 05:15 PM
Someone answer
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
24 Apr 2016 05:16 PM
Under position, there is a scale option, set both of those to 0.5

#code print("Why did Adele cross the road?") wait(3) print("To say hello from the other side!")
Report Abuse
oOMrWonderfulOo is not online. oOMrWonderfulOo
Joined: 12 May 2012
Total Posts: 163
24 Apr 2016 05:20 PM
There is no Scale Option, Im not using Code to make it, Im currently in the Properties, The ImageLabel position is {0, 500},{0, 240}, how do i make it in the Exact center
Report Abuse
ExpensiveGaming is not online. ExpensiveGaming
Joined: 01 Apr 2013
Total Posts: 783
24 Apr 2016 05:28 PM
https://gyazo.com/2e91d83283dc6cc9733a054e4efe3c5c

#code print("Why did Adele cross the road?") wait(3) print("To say hello from the other side!")
Report Abuse
exoSentinel is not online. exoSentinel
Joined: 18 Mar 2012
Total Posts: 2795
24 Apr 2016 05:32 PM
Once you understand how the position property works, this Plugin will make your life a lot easier:

https://www.roblox.com/Gui-Positioning-Tools-item?id=338813970
Report Abuse
Quote545 is not online. Quote545
Joined: 29 May 2011
Total Posts: 16
24 Apr 2016 06:02 PM
Directly in the middle of the screen without scripting would be, by setting the position to:

{0.5,-(half the size of your gui)} {0.5,-(half the size of your gui)}

I believe that's how you do it. Please correct me if I'm wrong
Report Abuse
Meltist is not online. Meltist
Joined: 10 Aug 2009
Total Posts: 1832
24 Apr 2016 06:07 PM
To expand on quote's answer,

Position X: {0.5, -(half the X size of your gui)}
Position Y: {0.5, -(half the Y size of your gui)}

OP, if you didn't have the - half part, your imageLabel's top left corner would be in the center of the screen. Moving it upwards and to the left halfway will place your ImageLabel directly in the middle of the screen even if the user resizes his or her window.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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