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: Simple GUI Question

Previous Thread :: Next Thread 
Bearsaw is not online. Bearsaw
Joined: 13 May 2010
Total Posts: 81
11 Jan 2017 11:40 PM
Sorry if the title doesn't explain what I want to discuss, it's hard to put in a couple words.

So, I am working on making some GUI on ROBLOX, and I'm need to know the size of the default ROBLOX chat as a whole (Like this, 0, 10, 0.5, -50 or whatever it is). I'm right now looking through the core scripts to see if I can find it, although there's so much there, it's hard to find.

That's it. Thank you!


Report Abuse
Bearsaw is not online. Bearsaw
Joined: 13 May 2010
Total Posts: 81
11 Jan 2017 11:47 PM
I also forgot to mention, if anybody knows how at what speed the fade works, that would be great. I know this stuff may sound like useless information, but I need it.

By the way, what I meant by speed of fade, is, say, it fades by 0.25 every half a second, if that makes sense.

I'm trying to create GUI that closely represents the default.


Report Abuse
Bearsaw is not online. Bearsaw
Joined: 13 May 2010
Total Posts: 81
12 Jan 2017 07:49 PM
Anybody know?


Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
12 Jan 2017 08:23 PM
GUI's go by a value known as UDim2. If you want to change the size or position, you would do

Frame.Position = UDim2.new(1,0,0.5,0)

and the position would change to {1,0},{0.5,0}.


There are many ways to do a fading effect. How most do it is with a for loop.
This for loop will fade out.
for i=0,1,0.05 do -- goes from 0 to 1 in increments of 0.05 and the value will be "i"
wait() --this loop will add 0.05 to "i" every 1/30th of a second
Frame.Transparency = i --the frame will change it's transparency to the value "i"
end


Report Abuse
Bearsaw is not online. Bearsaw
Joined: 13 May 2010
Total Posts: 81
12 Jan 2017 08:29 PM
The fading was helpful, but for the GUI, I'm trying to build GUI around the default topbar GUI. I'm trying to make it so my UI does not interfere with the chat on ROBLOX, so I'm trying to find out it's size so that I can avoid it.


Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
12 Jan 2017 08:36 PM
The ROBLOX Chat's Gui Size is {0.3, 0},{0.288, 0} if you needed that.


Report Abuse
Bearsaw is not online. Bearsaw
Joined: 13 May 2010
Total Posts: 81
12 Jan 2017 08:39 PM
Thank you.

My problems have been solved.


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