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: Do GUIs appear different depending on your screen size?

Previous Thread :: Next Thread 
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 08:58 PM
For example, if I was to build a GUI with my screen, if someone had a bigger screen would the GUI automatically resize to fit their screen and appear the same way it would appear on mine, or would it just be a tiny GUI?
Report Abuse
iceprofit is not online. iceprofit
Joined: 11 Apr 2013
Total Posts: 417
04 Dec 2013 08:59 PM
it would still take up as much room on the game as yours would. However, depending on their screen resolution is how big everything is anyways.

#ᴆᴓmiᴎusᴆeals
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:00 PM
Okay, good. Thank you.
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
04 Dec 2013 09:01 PM
Depends on which sizing you use, in the Gui properties there is a
Size: {0x, 0x}{0y, 0y}

If you change the first one it will change alongside the screen, the second one is fixed as a pixel size.

So {1, 0}{1, 0} would fill the entire screen/frame it is in while {0, 100}{0, 100} gives it a 100x100 pixel size.
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:02 PM
I put my resolution down and the GUI is now huge.

Would that happen to people with smaller screens? Now I'm just confused.
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:03 PM
Okay, thanks.

Problem solved.
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:05 PM
I changed resolution again to test, was still too big when I made resolution smaller
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:10 PM
@Above: I did this when size was 1,0 1,0

Bump
Report Abuse
PiggyJingles is not online. PiggyJingles
Joined: 13 Jan 2009
Total Posts: 2472
04 Dec 2013 09:11 PM
What is the layout of your gui?

Is it inside of a frame? Or is it the frame itself?
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:13 PM
It isn't in a frame, it's in the ScreenGui
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:18 PM
bump2
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:24 PM
please help
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
04 Dec 2013 09:35 PM
bumpdlza
Report Abuse
DoctorTempest is not online. DoctorTempest
Joined: 05 Jan 2013
Total Posts: 3838
06 Dec 2013 02:39 PM
bump
Report Abuse
moryo7 is not online. moryo7
Joined: 19 Jul 2010
Total Posts: 5028
06 Dec 2013 02:52 PM
There are two options to resize screengui objects. You can use Scale, and offset.
When you look at the object, it's size will be something like this.
(0,0,0,0)
I think of it as 2 seperate parts.
(x,x_y,y)
Now in these two seperate columns, there are two sizes, Scale and offset. This is how that looks.
(Scale,Offset,Scale,Offset)
Scale is like the fraction of your screen the object will take up. Offset is the exact number of pixels the image will take up.

If you have an object sized (0.1,0,0.1,0), the size of the object will ALWAYS be 1/10 of your screen both on the x and y axis.

However, if you have an object sized (0,100,0,100) it will ALWAYS be 100x100 pixels,x and y.

So I think of the size value like this:
(XScale, XOffset, YScale, YOffset)
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