Game Development Community

Loading Screen

by Tony Pitman · in Torque X 3D · 04/02/2010 (3:42 pm) · 3 replies

I am writing a Torque X 3D game.

I have a loading screen while I am loading up my scene and getting all the models ready to render.

On the xBox it can take up to 20 seconds just to load my main scene. Is there some kind of mechanism or callback that I can use during the loading of the scene to update my loading screen? Otherwise it looks like the game is just locked up. I am thinking maybe I can have a progress bar or ... or something like that. The problem is that I can't find a good way to update the progress bar while deep inside of the scene loading code that is in the Torque engine.

I do have the pro source version so I can easily modify the source code, but would rather use an "approved" mechanism if one already exists.

#1
04/05/2010 (8:58 pm)
Take a look at this, Matthew has created a pretty sophisticated loading screen: www.torquepowered.com/community/forums/viewthread/109873/1#comment-720647

#2
04/06/2010 (7:09 am)
Thanks Henry. I looked at it and it gives me some ideas. I might try the idea of drawing the loading screen using regular XNA, maybe in another thread.
#3
04/06/2010 (8:16 pm)
I know one of the first torque games on the XBLIG used the Gamestate management example as a wrapper.