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 » Club Houses » Clans & Guilds
Home Search
 

Re: so for GUI designing

Previous Thread :: Next Thread 
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
18 Apr 2016 11:33 AM
what numbers do I use to make it the same for PCs.
Report Abuse
TheCelvestian is not online. TheCelvestian
Joined: 27 Aug 2011
Total Posts: 7130
18 Apr 2016 11:33 AM
1337
Report Abuse
MrZelo is not online. MrZelo
Joined: 07 Jul 2008
Total Posts: 47891
18 Apr 2016 11:37 AM
Ok so when you see this:

(0,0) (0,0)

Use these:

([0],0) ([0],)

So ex: (0.25,0) (0.35,0)
Report Abuse
Joeseph_Joestar is not online. Joeseph_Joestar
Joined: 13 May 2012
Total Posts: 2300
18 Apr 2016 11:43 AM
In UDIM2, the variables are (XScale, XOffset, YScale, YOffset)

The Scales are ratio'd to the screen's resolution, so regardless of what resolution you're using, it should be in the same position on every monitor

Offset is by Phyiscal pixles, so having an offset of 25 on either X or Y would move the GUI by 25 pixels. This could mean 2cm on a 4k resolution, or 8cm on an 1920x1080. It moves in physical pixels with no relativity to the screen's resolution.

in short: use scale unless you know what you're doing
Report Abuse
iamsmartcookie is not online. iamsmartcookie
Joined: 18 Aug 2012
Total Posts: 2738
18 Apr 2016 12:10 PM
off set for position scale for size? or other way around?
Report Abuse
FriendlyBiscuit is not online. FriendlyBiscuit
Joined: 01 Dec 2012
Total Posts: 8991
18 Apr 2016 12:21 PM
please go read up on what a udim2 userdata is
Report Abuse
Theta0 is not online. Theta0
Joined: 09 Feb 2011
Total Posts: 40750
18 Apr 2016 12:22 PM
one is scale and one is offset

scale is by percentage

offset is the pixel size

yay



ribbit
Report Abuse
Joeseph_Joestar is not online. Joeseph_Joestar
Joined: 13 May 2012
Total Posts: 2300
18 Apr 2016 03:32 PM
there's a udim2 for position, then a udim2 for size


so, size = ([xscale,xoff],[yscale,yoff])

position = ([xscale,xoff],[yscale,yoff])

they're seperate things
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • 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