In my project’s directory (same as main.lua) I have Default.png, Default-Landscape.png, Default-LandscapeRight.png, and Default-LandscapeLeft.png. I’ve tried adding/removing different combinations of the images, but the Splash Screen still only shows up on the simulator.
If I run my game on a device, I get a black screen with the iPhone’s status bar in landscape mode, until my game finishes loading about 5 seconds later.
Any ideas?
Thanks in advance! [import]uid: 36054 topic_id: 7204 reply_id: 307204[/import]
Double check the case of your filenames… the simulator isn’t case sensitive but the iphone is. For example Default.png is correct but default.png won’t load on the iphone.
At least I’m pretty sure this is true… ; ) [import]uid: 16901 topic_id: 7204 reply_id: 25352[/import]
Thank you. That fixed most of the issue. The game now launches the splash screen when running on my iPhone.
However, the status bar does not disappear when the splash screen comes up (on both the simulator and a real device). So you can still see the time, battery, etc. in landscape mode above the splash screen.
As soon as the splash screen disappears and my game loads, the status bar is removed (because
display.setStatusBar(display.HiddenStatusBar) is one of my first lines of code), but I need to know how to get rid of the status bar while the splash screen is up.
Any ideas? [import]uid: 36054 topic_id: 7204 reply_id: 25354[/import]
I’m having the same issue; when I build for the Android, it works on the sim, but not the phone. It’s just a blank screen. I’ve tried both Default.png and default.png to no avail.
Documentation on splash screens is non-existent, though they are pretty much standard. On a youtube video, I saw somebody use load(50) to control the load splash screen, though it wasn’t for Corona…didn’t work.
Is their any syntax I can put in to control the splash/default screen and make it work?
Michael
P.S. I think the Android developers need their own section… [import]uid: 77730 topic_id: 7204 reply_id: 49960[/import]
Lol. This drove me crazy when I first started out with Corona. There is a post somewhere or blurb about this. It says the splash screen is only for iOS builds. Something to do with iOS using the splash screen not Corona.
I’m building for Android and I don’t even bother putting the default.png in the folder. Since it’s not needed.
The “Default.png” splashscreen feature is not supported on Android yet. Sorry about the confusion. It’s on our to-do list, but it won’t likely be implemented any time soon since you can work-around this by displaying your own splashscreen image in Corona. [import]uid: 32256 topic_id: 7204 reply_id: 50019[/import]