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: center gui?

Previous Thread :: Next Thread 
mamba_mentality is not online. mamba_mentality
Joined: 26 Dec 2011
Total Posts: 6327
01 Jul 2017 01:43 PM
how do I position a textlabel to the center of the screen?
are there specific coordinates for it, or a property
Report Abuse
ExtremeBuilder15 is online. ExtremeBuilder15
Joined: 01 May 2012
Total Posts: 3176
01 Jul 2017 01:48 PM
Use AnchorPoint: wiki.roblox.com/index.php?title=API:Class/GuiObject/AnchorPoint

Report Abuse
jte890 is not online. jte890
Joined: 26 Jul 2013
Total Posts: 525
01 Jul 2017 01:49 PM
What you want to do is this: Take the size of the textlable: Ex. 300, 200 Go to the position area and replace the zero in the beginning with 0.5 Now you have this: #### ## #### # Now all you have to do for the remaining zeros is divide the size by two: 300/2 200/2 = 150, 100 and turn them into negatives: -150, -100 Finally go to the positions, and you should have #### ##### #### #### Just do the same but with the size of your text label. Hope this helps! If you didn't understand a part just tell me. #Beard1k
Report Abuse
jte890 is not online. jte890
Joined: 26 Jul 2013
Total Posts: 525
01 Jul 2017 01:50 PM
lol the censors. Sorry! Look up tutorials since roblox is just going to censor everything I say.


#Beard1k
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
01 Jul 2017 01:56 PM
i always put 0.5 on both the X and Y scale, and i use the negative half of the size on offset.

Report Abuse
jte890 is not online. jte890
Joined: 26 Jul 2013
Total Posts: 525
01 Jul 2017 01:57 PM
^ What I was trying to say. But the guy above me said it in a easier and smarter way.


#Beard1k
Report Abuse
zaniac10 is not online. zaniac10
Joined: 18 Aug 2009
Total Posts: 10000
01 Jul 2017 01:58 PM
here's a good plugin for this:
https://www.roblox.com/library/338813970/Gui-Positioning-Tools
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
01 Jul 2017 01:59 PM
Use AnchorPoint.[2]

Position: {NUM, ZUM}, {NUM, ZUM}
AnchorPoint: NUM, NUM


Where NUM = ZERO.FIVE
Where ZUM = ZERO


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