Need Help With Splash Screen

hello developers …

i need help i want to create splash screen for my app i have function that initiate all sounds used by app so the function need unknown time period to load sounds in memory if i call the function then change scene to the menu its not working correctly how can i show effect in the splash screen after all sounds loaded take the user to the menu

thanks in advance … [import]uid: 74537 topic_id: 19599 reply_id: 319599[/import]

For iOS you can use the Default.png which loads automatically upon app start.

For Android you can look at this simple code I posted a few months back.
http://developer.anscamobile.com/code/using-defaultpng-splashload-screen-android [import]uid: 70847 topic_id: 19599 reply_id: 75704[/import]

Taking the same boat of the poster…

@ingemar regarding the Default.png for iOS would you know how after show this Default.png how would I implement something to get another image (for me the same as the Default.png) but show it as it was just the same image with something showing (Loading…) with the last three dots flashing alternate?

Got it?
I appreciate any input on how to implement it on iOS.
Thank you and Mery Xmas! :slight_smile:

Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19599 reply_id: 75705[/import]

Im new here.
So this may not be right.
If you do not use Default.png, make your first screen use an image of that size as a newImage which fills the screen.
Maybe create a few images that look like the dots you want, and use them as sprite images.
Set the sprite to animate until you are ready to proceed.
Then kill the backdrop and the sprite, and start with the proper stuff [import]uid: 108660 topic_id: 19599 reply_id: 75709[/import]

@jeff Thanks! That`s a good idea for sure!

I only wonder if I should for example, let`s say: create a group, insert in this case, my image (same as the Default.png) into this group, also insert the 3 dots image (as a movieclip/sprite) all of this into a function that will be called at the very start of the app (just after displaying the Default.png) by some timer as the API [lua]timer.performWithDelay()[/lua]. Am I thinking in the right way or am missing something? :\
Thanks for the help!

Merry Xmas!
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19599 reply_id: 75711[/import]

Sounds good to me.
Like I say, Im new here myself, but if I was doing what you want to do, thats what I’d be trying. [import]uid: 108660 topic_id: 19599 reply_id: 75714[/import]

@jeff472

I`ll try to put the things together this week maybe and will see if the theory I said you above does work well or not.

Thank you for sharing your thoughts!

PS: Youre newer but youre very welcome to the Corona`s Community! :slight_smile:
See yah,
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19599 reply_id: 75726[/import]

What about using this code posted by KenRogoway?
http://developer.anscamobile.com/code/load-progress-bar [import]uid: 70847 topic_id: 19599 reply_id: 75731[/import]

Hey @ingemar , Thank You! Just Awesome!

I am downloading the github project right now to see if I can understand how it works! :slight_smile:

Thanks for your time.
Cheers,
Merry Xmas!
Rodrigo. [import]uid: 89165 topic_id: 19599 reply_id: 75733[/import]