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: How would you make a Loading Bar with RequestQueueSize

Previous Thread :: Next Thread 
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
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 is not online. Iceladen
Joined: 08 Feb 2009
Total Posts: 6177
07 Nov 2017 08:32 PM
loading bars OMEGALUL
Report Abuse
Skylake_X is not online. Skylake_X
Joined: 16 Jul 2014
Total Posts: 275
07 Nov 2017 08:40 PM
:tweensize()


#code print("heck")
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
07 Nov 2017 08:41 PM
just make a fake loading bar lool
Report Abuse
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
07 Nov 2017 09:13 PM
no I mean changing a frame's size ( on the x scale ) based on requestqueuesize










nvm
Report Abuse
SenseiWarrior is online. SenseiWarrior
Joined: 09 Apr 2011
Total Posts: 12140
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
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
07 Nov 2017 09:31 PM
no I mean changing a frame's size ( on the x scale ) based on requestqueuesize










nvm
Report Abuse
Exanimatedn9dean is online. Exanimatedn9dean
Joined: 11 Aug 2015
Total Posts: 1469
07 Nov 2017 09:44 PM
woops, replies got duped somehow


also how do you get the 'total request queue size'?
Report Abuse
Iceladen is not online. 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
francaiscanada10 is online. francaiscanada10
Joined: 05 Feb 2013
Total Posts: 135
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
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