Splash (launch) screen questions

The only documentation I could find:

“The launch image should be named Default.png and be the dimensions of the screen. It should be located in the assets project folder.”

The dimensions of what screen? For a universal build there are many different screen sizes (iPad, iPhone, retina iPhone…). Also, my app is landscape only. How do you guys handle launch screens? Are there other build settings for this? What dimensions are your launch images? [import]uid: 52127 topic_id: 12357 reply_id: 312357[/import]

u do it by making a image for each device and using different preset file names
I no longer have the web page with this info but you can google it I think Tom or Carlos give it to me before
I will try and find the post or email where they gave me this info [import]uid: 7911 topic_id: 12357 reply_id: 45031[/import]

That would be great if you could provide that info. I don’t understand why they don’t put it in the doc: http://developer.anscamobile.com/content/app-programming-guide [import]uid: 52127 topic_id: 12357 reply_id: 45035[/import]

here’s one page I found

http://www.weston-fl.com/blog/?p=840 [import]uid: 7911 topic_id: 12357 reply_id: 45036[/import]

Yeah, I know the Apple specs, but I’m wondering how people are handling this specifically in Corona apps since the Corona documentation is unclear. [import]uid: 52127 topic_id: 12357 reply_id: 45048[/import]

huh?
http://blog.anscamobile.com/2011/01/dynamic-image-resolution-made-easy/

http://developer.anscamobile.com/content/configuring-projects
c. [import]uid: 24 topic_id: 12357 reply_id: 45055[/import]

@Carlos,
I’m not seeing any information in those docs regarding launch/splash screens for universal builds. What files are required, and at what sizes to be compatible with iPad, iPhone, and iPhone4? One Default.png file doesn’t cover them all, as it appears blurry and off-center in the iPad, even when a @2x version is included as well. [import]uid: 52127 topic_id: 12357 reply_id: 45066[/import]

In config.lua:

[lua]application =
{
content =
{
width = 320,
height = 480,
scale = “zoomEven”,

imageSuffix =
{
["@2x"] = 2,
["@2.4x"] = 2.4,
},
},
}[/lua]

Then create your splash screen image files like this:
Default.png, size = 320 x 480
Default@2x.png, size = 640 x 960
Default@2.4x.png, size = 768 x 1152 [import]uid: 27119 topic_id: 12357 reply_id: 45075[/import]

The @2x version is for retina display iPhone. The reason I said to have the iPad resolution image at 768 x 1152 is because that’s the default resolution multiplied by 2.4 (320 x 2.4 = 768, 480 x 2.4 = 1152). The aspect ratio of the dynamic resolution image must be the same as the base aspect ratio. Since the iPad doesn’t have the same aspect ratio as 320 x 480, I specified the “zoomEven” display mode, which will crop off the extra pixels on the 1152 dimension when viewed on the iPad. [import]uid: 27119 topic_id: 12357 reply_id: 45094[/import]

@drewns

Thanks for the detailed response. I have done what you suggested, although I don’t understand the @2x version. In typical iOS development, you have this:

Default.png (320x480)
Default-Landscape~iPad.png (1024x768)

640x960 is not the size of the iPad, so why would we create a splash screen at that size?
[import]uid: 52127 topic_id: 12357 reply_id: 45092[/import]

This thread might help:
http://developer.anscamobile.com/forum/2011/02/24/seamless-transition-defaultpng-mainlua-displaying-defaultpng [import]uid: 53445 topic_id: 12357 reply_id: 45096[/import]

@Millerszone

The posters in that thread seem to be just as confused about this - I didn’t see any real solution.

Carlos, can you post a definitive solution? [import]uid: 52127 topic_id: 12357 reply_id: 45098[/import]

Even when I add ["@24x"] = 2.4 to the config file, it still chooses the small Default.png file on the iPad (instead of Default@24x.png), and therefore it looks blurry and off-center. [import]uid: 52127 topic_id: 12357 reply_id: 45101[/import]

Filename Dimensions
Default-Portrait.png * 768w x 1004h
Default-PortraitUpsideDown.png 768w x 1004h
Default-Landscape.png ** 1024w x 748h
Default-LandscapeLeft.png 1024w x 748h
Default-LandscapeRight.png 1024w x 748h

if you want ipad specific - don’t include default.png

c. [import]uid: 24 topic_id: 12357 reply_id: 45103[/import]

Thanks. [import]uid: 52127 topic_id: 12357 reply_id: 45109[/import]