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: Use Scale or Offset?

Previous Thread :: Next Thread 
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:23 PM
for GUIS!?!?! So confused!


Falcons for Life
Report Abuse
morash is not online. morash
Joined: 22 May 2010
Total Posts: 5834
14 Aug 2015 10:23 PM
Yes.
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:31 PM
@above helps alot


Falcons for Life
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:40 PM
b1


Falcons for Life
Report Abuse
71428 is not online. 71428
Joined: 06 Aug 2015
Total Posts: 339
14 Aug 2015 10:42 PM
As in Mesh values?
Report Abuse
71428 is not online. 71428
Joined: 06 Aug 2015
Total Posts: 339
14 Aug 2015 10:44 PM
Oh for Gui classes. I couldn't understand that for some reason
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
14 Aug 2015 10:46 PM
Its better to use both if you can

Offset = # of pixels

Scale = % of total screen size
Report Abuse
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
14 Aug 2015 10:49 PM
It depends what you're doing.

If you want something the same size (the area is the same no matter the screen) or same offset position (from the top-left of the screen) then you would use offset.

If you want something to take up a percentage of the screen or be a percentage away from the origin (top-left) then you would use scale.

Sometimes you would use both (maybe offset for size and scale for position, or scale and offset for size and scale and offset for position)
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:50 PM
Well, my goal is for the GUIs to be equivalent for any screen, iPhone, regular computer, etc.


Falcons for Life
Report Abuse
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
14 Aug 2015 10:50 PM
Okay but what do you mean by equivalent? Take up the same percentage of a screen? Use scale.
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:51 PM
Scale Only? Because I don't want it off the screen, but I don't want it to the left or right of where it was, no matter the screen size.


Falcons for Life
Report Abuse
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
14 Aug 2015 10:52 PM
If you use scale and a value between 0 and 1, it will never go off the screen (in terms of size).
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 10:53 PM
Okay, scale only? And will this put every GUI in the way they would be on a regular computer, except it would technically be smaller due to smaller screen.


Falcons for Life
Report Abuse
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
14 Aug 2015 10:59 PM
Sizing via Scale: http://prntscr.com/84t49a
Sizing via Offset: http://prntscr.com/84t49n

The left 'box' is a 800x800 monitor (obv. not to scale)
The right 'box' is a 400x400 monitor (obv. not to scale)
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
14 Aug 2015 11:03 PM
he means
Sizing via Offset: http://prntscr.com/84t49a
Sizing via Scale: http://prntscr.com/84t49n
Report Abuse
JonathanW123 is online. JonathanW123
Joined: 04 Apr 2012
Total Posts: 5832
14 Aug 2015 11:05 PM
so scale only?


Falcons for Life
Report Abuse
lordrambo is not online. lordrambo
Joined: 16 Jun 2009
Total Posts: 20628
14 Aug 2015 11:09 PM
yes
Report Abuse
cntkillme123 is not online. cntkillme123
Joined: 10 Feb 2013
Total Posts: 539
14 Aug 2015 11:10 PM
woops i mixed my links
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