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: Gui's position

Previous Thread :: Next Thread 
monsterMrMcMan is not online. monsterMrMcMan
Joined: 20 Jun 2010
Total Posts: 463
28 Jan 2014 02:00 PM
I cant find a scale position on the computer's screen that a Gui can be directcly on the right side. Can you help me?
Report Abuse
Geomaster is not online. Geomaster
Joined: 05 Jul 2008
Total Posts: 1480
28 Jan 2014 02:01 PM
Tips:
1: It depends on the size of the gui
2: Scale literally means the scale of your screen. If you do .5, that's halfway across your screen (somewhat.)
Try about .9 / .95 maybe?
Report Abuse
monsterMrMcMan is not online. monsterMrMcMan
Joined: 20 Jun 2010
Total Posts: 463
28 Jan 2014 02:02 PM
The gui's(on the left) size is, {0.300000012, 0}, {1, 0} and it's on the left with the position at {0, 0} {0, 0} how do I get it on the right?
Report Abuse
Geomaster is not online. Geomaster
Joined: 05 Jul 2008
Total Posts: 1480
28 Jan 2014 02:04 PM
Like I just said
Try the position {.9, 0},{0, 0}
Play around with it
It's really not that hard if you're not lazy
Report Abuse
duckwit is not online. duckwit
Joined: 08 Aug 2008
Total Posts: 1310
28 Jan 2014 02:04 PM
Position it at {1 - 0.3/2,0}{0,0}, I think.

So that would be: {0.85,0}{0,0} - but if you change the sizing at all, you'll have to reposition it.
Report Abuse
monsterMrMcMan is not online. monsterMrMcMan
Joined: 20 Jun 2010
Total Posts: 463
28 Jan 2014 02:06 PM
playyed around with it a bit and it was {0.699999988, 0}, {0, 0}
Report Abuse
monsterMrMcMan is not online. monsterMrMcMan
Joined: 20 Jun 2010
Total Posts: 463
28 Jan 2014 02:07 PM
Thank you very much though.
Report Abuse
duckwit is not online. duckwit
Joined: 08 Aug 2008
Total Posts: 1310
28 Jan 2014 02:20 PM
Sorry, I don't know why I divided it by 2. I was half-thinking that you were positioning it in the middle of the screen.

Anyway, @MonsterMrMcMan, here is an instruction for you so that you won't have to fiddle around with it again:

Take the width {x,y} (in your case this was {0.3,0}.
Then you want to position it at {1 - x, -y} (with the example above that would be {1 - 0.3, -0} = {0.7,0})
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