Animated loading bar in TGB a la SPAZ
by daffodilistic · in Torque Game Builder · 03/09/2012 (12:16 am) · 3 replies
Hi all,
Just curious as to this feature that I am working on right now for our game - we're trying to create an animated loading bar that fills up as assets and data are loaded when a level is loaded in our game. We've tried out the SPAZ (Space Pirates And Zombies) demo, and we're surprised to see that they use a loading bar which fills up as game data is being loaded, and its rather smooth as well. My question is, how do we replicate that?
Just curious as to this feature that I am working on right now for our game - we're trying to create an animated loading bar that fills up as assets and data are loaded when a level is loaded in our game. We've tried out the SPAZ (Space Pirates And Zombies) demo, and we're surprised to see that they use a loading bar which fills up as game data is being loaded, and its rather smooth as well. My question is, how do we replicate that?
#2
12/20/2012 (2:16 pm)
I made a loading gui and for the loading bar, a theora. I made it so that when you press the load level button you go to the loading gui. On wake, the loading gui reads the save file.
#3
Possibly the best and most powerful yet potentially troublesome to the inexperienced is threading.
I haven't yet fooled around with it yet but if you search the source code for "ThreadManager" it should lead you to a file that could help get you started.
12/20/2012 (3:49 pm)
Maybe this would work but I haven't seen SPAZ.Possibly the best and most powerful yet potentially troublesome to the inexperienced is threading.
I haven't yet fooled around with it yet but if you search the source code for "ThreadManager" it should lead you to a file that could help get you started.
Torque 3D Owner Ronny Bangsund
Torque Cheerleaders