|
| 07 Nov 2017 08:26 PM |
| Considering the queue size is always changing, I don't understand how you would make a loading bar resize itself based on it |
|
|
| Report Abuse |
|
|
Iceladen
|
  |
| Joined: 08 Feb 2009 |
| Total Posts: 6177 |
|
| |
|
Skylake_X
|
  |
| Joined: 16 Jul 2014 |
| Total Posts: 275 |
|
|
| 07 Nov 2017 08:40 PM |
:tweensize()
#code print("heck") |
|
|
| Report Abuse |
|
|
K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 07 Nov 2017 08:41 PM |
| just make a fake loading bar lool |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 09:13 PM |
no I mean changing a frame's size ( on the x scale ) based on requestqueuesize
nvm |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 09:19 PM |
local decimal = total_stuff_queued / requestqueuesize
bar:TweenSize(UDim2.new(decimal,0,1,0),"Out","Linear",1,true)
just an example
|
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 09:31 PM |
no I mean changing a frame's size ( on the x scale ) based on requestqueuesize
nvm |
|
|
| Report Abuse |
|
|
|
| 07 Nov 2017 09:44 PM |
woops, replies got duped somehow
also how do you get the 'total request queue size'? |
|
|
| Report Abuse |
|
|
Iceladen
|
  |
| Joined: 08 Feb 2009 |
| Total Posts: 6177 |
|
|
| 08 Nov 2017 11:19 AM |
| boss it's the number of items ur preloading lol |
|
|
| Report Abuse |
|
|
|
| 08 Nov 2017 11:31 AM |
| look up ContentProvider on the wiki. make a variable for the amount of assets already loaded and divide that value by the RequestQueueSize to get the scale size for a gui loading bar |
|
|
| Report Abuse |
|
|