How to add splashscreen?
by Andre Prior · in Torque X Platformer Kit · 07/10/2007 (12:57 pm) · 4 replies
Hi, I got the kit running now. I created the demo game and changed a littlebit the maps. Now I have 3 questions that I coulndt get answered in the tutorials.
1.
How can i add a simple spashscreen before the game starts?
2.
How can I set the level order?
3.
In combination to question 2. How do I set the goal so the player leaves level 1 and goes to level 2?
Thanks!
1.
How can i add a simple spashscreen before the game starts?
2.
How can I set the level order?
3.
In combination to question 2. How do I set the goal so the player leaves level 1 and goes to level 2?
Thanks!
#2
2) Load the levels in the order you want them to be loaded. This can be done with a level selection menu or randomly or however you decide to implement it.
3) Whenever a conditions are met to leave a level, just unload it and load the next one via the Game's SceneLoader.
Edit: You might have a little bit more luck with general Torque X questions like this in the Torque X forums. There are significantly more people there and they are public, whereas the platformer kit forum requires access to the platformer kit.
07/13/2007 (3:21 pm)
1) See the GUISplash class (GarageGames.Torque.GUI).2) Load the levels in the order you want them to be loaded. This can be done with a level selection menu or randomly or however you decide to implement it.
3) Whenever a conditions are met to leave a level, just unload it and load the next one via the Game's SceneLoader.
Edit: You might have a little bit more luck with general Torque X questions like this in the Torque X forums. There are significantly more people there and they are public, whereas the platformer kit forum requires access to the platformer kit.
#3
07/16/2007 (12:37 am)
Thank you I will try that.
#4
08/13/2007 (7:02 pm)
I wrote a tutorial in the TDN which should help you create a splash screen.
Torque Owner Andre Prior