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 » Game Design
Home Search
 

Re: Gui help

Previous Thread :: Next Thread 
Leafnary is not online. Leafnary
Joined: 18 May 2013
Total Posts: 2
13 Jun 2015 01:31 AM
I made a gui and everything is scaled but for my friend everything is not balanced and stuff..
Report Abuse
TC8950 is not online. TC8950
Joined: 09 May 2010
Total Posts: 4925
13 Jun 2015 09:28 PM
He is probably using a different resolution than you are.

Size & Position properties use this.

{0, 0},{0, 0}
The first 0's in brackets will be places in the same position on every screen.
The second 0's in brackets size & position objects by pixels.

For size,

{1, 0},{1, 0}
fills the whole screen, on every screen.

{0.5, 0},{0.5, 0}
fills half of the screen, on every screen.

{0, 800},{0, 640}
would fill the whole screen for anyone using a 800x640 resolution, but if someone is using a bigger resolution, it would only fill 800x640 pixels.


For position

{1, 0},{1, 0}
Places the top left edge of the object at the bottom right (not visible) of the screen, on every screen.

{0.5, 0},{0.5, 0}
Will place the top left edge of the object in the middle of the screen, on every screen.

{0, 400},{0, 400}
Will place the top left of edge of the object 400 pixles right, and 400 pixles down.


Also, check out wiki.roblox.com searching for common GUI objects. (ScreenGui, Frame, TextLable, ect.)
Report Abuse
PresidentDeofol is not online. PresidentDeofol
Joined: 29 May 2010
Total Posts: 654
13 Jun 2015 10:18 PM
What is Scale and Offset used for, then?
Report Abuse
DerpyMerpKing is not online. DerpyMerpKing
Joined: 05 Feb 2011
Total Posts: 2553
13 Jun 2015 10:22 PM
scale is better, its fraction of screen, but offset is pixels so its worse.
Report Abuse
TC8950 is not online. TC8950
Joined: 09 May 2010
Total Posts: 4925
13 Jun 2015 10:26 PM
@President

Scale will look relatively the same in size & position (based on the player's screen/game resolution aspect ratio). It will be relativity positioned the same on every screen and be relativity the same size on every screen. (with the exception of stretched resolutions)

Offset will size & position the object on pixels,

let's say we size a object with this
{0, 1280},{0, 720}

With the resolution 1280x720, it will fill perfectly.
With the resolution 800x640, it won't fit the screen, but be to big.
With the resolution 1920x1080, it will fill some of the screen, but leave alot unfilled.

Same with positioning in offset, it uses pixels.
If I position a object
{0, 1280},{0, 720}

You would need a screen/game resolution over 1280x720 to see it.
Report Abuse
stelthgummy is not online. stelthgummy
Joined: 25 Nov 2012
Total Posts: 554
13 Jun 2015 10:51 PM
TC gave you perfect information and help. ;)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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