Hi When I make a splash screen it doesnt show up? HELP
We need more information than that. What have you tried? What is the filename? Where have you placed the image file?
I should be placed in your project root and it should be called “Default-568h@2x.png” and be 640 x 1136 as in several of the Corona samples.
No you can’t. When the engine runs that is the file it looks for. There is no way to change it and really no need.
I think it depends on what you mean by “splash screen” … once the app is opened, you can certainly display whatever image you want for as long as you want, and then transition to a main menu/home screen.
The easiest approach for that kind of splash screen is probably through the composer interface. Have main.lua call composer.gotoScene to transition to your splash screen, then have the splash screen call composer.gotoScene to transition to your main menu.
Take a look in the Sample Apps … Interface … Composer.
Let me add some context to this.
iOS supports a “Launcher” image. In the old days this was named Default.png and it shows while the OS is loading the app. When Apple started producing new sized devices, they started changing the rules on this. Then the iPhone 5 came a long and at least for iOS 6, Apple decided to use the Default-568h@2x.png named file to trigger tall mode on the device, making this a required file. Later they would move away from this as a requirement. Now Apple wants your launcher image to be your app’s first screen and not be a branding screen. The ideal of a “Splash” screen is not a recommended thing.
Back in time again, since Apple used this Default.png file as a launcher image, our Android users wanted the same and Android doesn’t support launcher images at all. So Corona SDK built in some code where we load Default.png, if it exists.
Now all of that said, you can always do your own splash screen after main.lua starts as part of a series of title slides…
Rob
We need more information than that. What have you tried? What is the filename? Where have you placed the image file?
I should be placed in your project root and it should be called “Default-568h@2x.png” and be 640 x 1136 as in several of the Corona samples.
No you can’t. When the engine runs that is the file it looks for. There is no way to change it and really no need.
I think it depends on what you mean by “splash screen” … once the app is opened, you can certainly display whatever image you want for as long as you want, and then transition to a main menu/home screen.
The easiest approach for that kind of splash screen is probably through the composer interface. Have main.lua call composer.gotoScene to transition to your splash screen, then have the splash screen call composer.gotoScene to transition to your main menu.
Take a look in the Sample Apps … Interface … Composer.
Let me add some context to this.
iOS supports a “Launcher” image. In the old days this was named Default.png and it shows while the OS is loading the app. When Apple started producing new sized devices, they started changing the rules on this. Then the iPhone 5 came a long and at least for iOS 6, Apple decided to use the Default-568h@2x.png named file to trigger tall mode on the device, making this a required file. Later they would move away from this as a requirement. Now Apple wants your launcher image to be your app’s first screen and not be a branding screen. The ideal of a “Splash” screen is not a recommended thing.
Back in time again, since Apple used this Default.png file as a launcher image, our Android users wanted the same and Android doesn’t support launcher images at all. So Corona SDK built in some code where we load Default.png, if it exists.
Now all of that said, you can always do your own splash screen after main.lua starts as part of a series of title slides…
Rob