Splash Screen

What are the steps to follow to place an image function as a splash screen while loading entire program memory. I read the help, but is not very well explained. Moreover, it is incomplete.

I am a bit unsure of what you want? image function AS a splash screen?

At a guess are you wanting to display a image as a secondary splash screen ( I believe corona’s use of default - images can not be adjusted by us time wise - so thats why i say secondary), and make it wait on screen while you load stuff - then onComplete goto another scene??

T.

Most people probably load an image at the top of their main.lua using display.newImageRect().

Then at the end of main.lua after everything is loaded but before going off to another scene or firing up the main part of your app, remove the image.

No, no … I do not think they understood me. I read here: 

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html 

What I do not understand is where the image will start the application (launch images), I guess the general directory where are the other images and icons … and from where the call is made for the image to appear in the beginning of the application while loading the application total memory. In this explanation missing something. Most explanations of the Corona SDK API are incomplete. I think they deserve a review.

Still not sure but will try.

Splash screen images same folder as your main/build/config/Icons - Don’t use subfolder.

Corona does this ( the “call” )we have absolutely no control and do not need to code for this. 

If you wish for the SS to last longer than the "split second"that Corona provides, then that is something you would have to code, by a similar manner that Rob  described.

I’m sorry if this is not what you meant - but just goes to show how translations can cause confusion or be incomplete.

T.

Now I understand. I apologize for my English. I’m Argentinian, I speak Spanish, Latin. 

  1. The image is in the same folder, common to all. That I understood. 

  2. You say that the system makes the call. So I should not write code anywhere: main, build setting, etc… 

  3. Now comes the question: How has the system gives, what is the picture I chose for splah screen? Why the name? 

I saw a table and you receive one of these names: 

Default-Landscape.png 

It?

Apple iOS uses “Launcher images”.  They are typically named Default.png (320x480), Default@2x.png (640x960), Default-568h@2x.png (640x1136) and then there are a couple variant’s for iPads.  These belong in the same folder as your main.lua.

Apple recommends these match what your app will show on the first screen (they don’t really like splash screens).  It’s best if you want to have a branding/title screen that you do it within Corona SDK and not using Default.png for it.

Android does not use a Default.png, however Corona SDK will internally load a Default.png (no other files) on app start.

Rob

Genial, Bob…works.

Equal, the load time is excessive. I’ll have to further refine this. I have seen many applications of the Apple Store at start flying. They are much more complex than I am developing.

Thanks.

iOS controls how long the launcher image is on the screen.  Corona starts displaying the very first frame that we can after iOS hands over control.  If you are seeing delays it could be to how much you are doing in your main.lua before you start displaying things.

I am a bit unsure of what you want? image function AS a splash screen?

At a guess are you wanting to display a image as a secondary splash screen ( I believe corona’s use of default - images can not be adjusted by us time wise - so thats why i say secondary), and make it wait on screen while you load stuff - then onComplete goto another scene??

T.

Most people probably load an image at the top of their main.lua using display.newImageRect().

Then at the end of main.lua after everything is loaded but before going off to another scene or firing up the main part of your app, remove the image.

No, no … I do not think they understood me. I read here: 

http://docs.coronalabs.com/guide/distribution/buildSettings/index.html 

What I do not understand is where the image will start the application (launch images), I guess the general directory where are the other images and icons … and from where the call is made for the image to appear in the beginning of the application while loading the application total memory. In this explanation missing something. Most explanations of the Corona SDK API are incomplete. I think they deserve a review.

Still not sure but will try.

Splash screen images same folder as your main/build/config/Icons - Don’t use subfolder.

Corona does this ( the “call” )we have absolutely no control and do not need to code for this. 

If you wish for the SS to last longer than the "split second"that Corona provides, then that is something you would have to code, by a similar manner that Rob  described.

I’m sorry if this is not what you meant - but just goes to show how translations can cause confusion or be incomplete.

T.

Now I understand. I apologize for my English. I’m Argentinian, I speak Spanish, Latin. 

  1. The image is in the same folder, common to all. That I understood. 

  2. You say that the system makes the call. So I should not write code anywhere: main, build setting, etc… 

  3. Now comes the question: How has the system gives, what is the picture I chose for splah screen? Why the name? 

I saw a table and you receive one of these names: 

Default-Landscape.png 

It?

Apple iOS uses “Launcher images”.  They are typically named Default.png (320x480), Default@2x.png (640x960), Default-568h@2x.png (640x1136) and then there are a couple variant’s for iPads.  These belong in the same folder as your main.lua.

Apple recommends these match what your app will show on the first screen (they don’t really like splash screens).  It’s best if you want to have a branding/title screen that you do it within Corona SDK and not using Default.png for it.

Android does not use a Default.png, however Corona SDK will internally load a Default.png (no other files) on app start.

Rob

Genial, Bob…works.

Equal, the load time is excessive. I’ll have to further refine this. I have seen many applications of the Apple Store at start flying. They are much more complex than I am developing.

Thanks.

iOS controls how long the launcher image is on the screen.  Corona starts displaying the very first frame that we can after iOS hands over control.  If you are seeing delays it could be to how much you are doing in your main.lua before you start displaying things.