PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

loading time with GD300 for symbian

Hi all,
I'm working on a little game for symbian Nokia s60. I load something like
20 surfaces (small gifs, my game only takes 400ko once installed), a few sounds (4 short wavs) and I initialize a few structures.
When I start my game I have the GD splash screen (demo version!!!) and then around 10 seconds of a black screen before my first screen finally appears.
I would like to reduce these 10 seconds or at worst find a way to show 1 or 2 splash screens.
I tried initializing everything in InitInstance. Then I tried to display a screen and then initializing everything in ProcessNextFrame but the result is always the same.
Could someone help me on that?

Thanks in advance.

Vincent.
To overcome this delay in Warlords II, I loaded a splash screen and displayed it, then loaded the rest of my resources while the splash screen timer timed out. This made it much more transparent to the user that the resources were loading up.
Hi,
thank you for your reply.
I tried this, I only loaded a surface in InitInstance, displayed it immediately in ProcessNextFrame and then loaded the rest of my stuff but it gave me the same result. I didn't use a "timer" I just displayed my screen, loaded everything (only once using a flag) and then displayed my game 1st screen. I still have a black screen for 10 seconds then my splash screen for a few milliseconds (you can hardly notice it) and then my game 1st screen... Strange!!
I declared all my surfaces, structs and vars in the .h file, maybe it's not the best way... I don't know I'm far from being a C++ guru!!!
There's maybe another explanation: It might be a hardware limitation, I tested my game on a Nokia 6600, could someone answer me on that?
I'll try not to load anything to see the difference...
Vincent.
Make sure you exit ProcessFrame after displaying your splash screen, don't load your other images before exiting. Your splash screen isn't on the physical screen yet!
vince_mad · 07 May 2004, 16:50 UTC — How stupid I am!!!
Hi,
You were right!!! I just forgot to put a return after displaying my splash screen!!!
How stupid I am!!!
Many thanks for your help!!
Vincent.