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: How do I make GUIs scale?

Previous Thread :: Next Thread 
Buckeyeman0923 is not online. Buckeyeman0923
Joined: 06 Oct 2009
Total Posts: 6671
02 Sep 2015 03:41 PM
Can someone explain how to do so? I'm making a GUI for a game, and I really need to make it so the GUIs scale to make sure the GUI will look good on every display.



The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726
Report Abuse
DesolationGame is not online. DesolationGame
Joined: 03 Jul 2013
Total Posts: 217
02 Sep 2015 03:55 PM
UDim2.new([0],0,[0],0)
The bracketed numbers are the scale, as in portion of the screen a GUI takes up.
for example, a GUI with the size UDim2.new(1,0,1,0) would cover the whole screen. Likewise, UDim2.new(.5,0,.5,0) would be half a screen wide and half a screen tall.
Report Abuse
Buckeyeman0923 is not online. Buckeyeman0923
Joined: 06 Oct 2009
Total Posts: 6671
02 Sep 2015 04:06 PM
The two zeros that aren't in brackets, do I replace them with the original coordinates of the GUI?



The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726
Report Abuse
Buckeyeman0923 is not online. Buckeyeman0923
Joined: 06 Oct 2009
Total Posts: 6671
02 Sep 2015 04:26 PM
Also, do I put that into a script that I would put in the GUIs?



The ROBLOX community is the best online community on the internet. http://www.roblox.com/Adventure-Club-Retro-City-item?id=256789726
Report Abuse
DesolationGame is not online. DesolationGame
Joined: 03 Jul 2013
Total Posts: 217
04 Sep 2015 05:02 PM
The non bracketed zeros can be left alone, unless you want to change size or position by exact pixels.
Report Abuse
DesolationGame is not online. DesolationGame
Joined: 03 Jul 2013
Total Posts: 217
04 Sep 2015 05:03 PM
No script is needed, just the size and position properties of the gui.
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