splash screen woes
by rennie moffat · in iTorque 2D · 04/26/2010 (7:18 am) · 22 replies
Hi there, I am having trouble getting my splash screen to go up. Currently, when I run my game it simply fades in which ever level/scene is curretnly open in the editor leaves it for the time length as programmed in my splash.gui and the fades out into black.
I am have ing trouble understanding the initialise project function's contents. Should I be setting schedules and stuff in here? Like, after 4 secs loadMainMenu();?
I am have ing trouble understanding the initialise project function's contents. Should I be setting schedules and stuff in here? Like, after 4 secs loadMainMenu();?
function initializeProject()
{
$splash = 1;
exec("~/gui/splash.gui");
exec("./gameScripts/splash.cs");
// Load up the in game gui.
exec("~/gui/mainScreen.gui");
// Exec game scripts.
exec("./gameScripts/game.cs");
startGame( expandFilename($Game::DefaultScene) );
///startGame(%level);
$defaultScene = "game/data/levels/level1Pt1.t2d";
getSplashNumber();
loadSplash();
}About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.
#22
The image was saved "on it's side". I simply rotated it in Preview.
and the level was on how you had set it up before which works. I was calling a level which did not exist. I thought the default scene was loading as native to the example. My bad.
Well Scott, you may still earn that money yet.
PS. this is the 8th time I have made this reply as my Airport I keep turning off to check and reload my project, then write a reply I hit send and all info lost because Airport is off. No more tho my man, no more.
Thanks!
06/21/2010 (12:03 pm)
Ok, so I actually just got both to work.The image was saved "on it's side". I simply rotated it in Preview.
and the level was on how you had set it up before which works. I was calling a level which did not exist. I thought the default scene was loading as native to the example. My bad.
Well Scott, you may still earn that money yet.
PS. this is the 8th time I have made this reply as my Airport I keep turning off to check and reload my project, then write a reply I hit send and all info lost because Airport is off. No more tho my man, no more.
Thanks!
Torque Owner Scott Wilson-Billing
MeYuMe
Post your code for the loading of the scene and I'll take a look.