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
|
  |
| 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
|
  |
| Joined: 13 May 2010 |
| Total Posts: 81 |
|
| |
|
|
| 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
|
  |
| 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 |
|
|
|
| 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
|
  |
| Joined: 13 May 2010 |
| Total Posts: 81 |
|
|
| 12 Jan 2017 08:39 PM |
Thank you.
My problems have been solved.
|
|
|
| Report Abuse |
|
|