an app for an universal ios devices

Hi
what’s the size of the background image, if i am

planing to make an app for an universal ios devices ?? should I have 4 backgrounds ?one each for the

iPhone, the iPhone retina, the iPad, and the iPad retina??

or I can make only 2 backgornds (the retina Iphone and the retina Ipod) and make them scale down for the

Unretina devices?? is it the same thing with Sprite sheets ??

thank you [import]uid: 100339 topic_id: 33534 reply_id: 333534[/import]

Here’s what I’m using for this:

background = display.newImageRect("background.png", 570, 380)  
background.x = display.contentWidth / 2  
background.y = display.contentHeight / 2  

and

application = {  
 content = {  
 width = 320,  
 height = 480,   
 scale = "letterBox",  
 fps = 30,  
 imageSuffix = {  
 ["@2x"] = 2,  
 }  
 },  
}  

for the configuration file. This will fill the screen for all devices and not leave black spaces. The only thing you need to be careful is to have all the important content of the picture in the 320x480 area in the middle, and use the rest of the space just for filling it with theme content.

You can have a picture with the double resolution for retina devices (background@2x.png) without changing anything.

Hope it helps.

[import]uid: 70003 topic_id: 33534 reply_id: 133268[/import]

Here’s what I’m using for this:

background = display.newImageRect("background.png", 570, 380)  
background.x = display.contentWidth / 2  
background.y = display.contentHeight / 2  

and

application = {  
 content = {  
 width = 320,  
 height = 480,   
 scale = "letterBox",  
 fps = 30,  
 imageSuffix = {  
 ["@2x"] = 2,  
 }  
 },  
}  

for the configuration file. This will fill the screen for all devices and not leave black spaces. The only thing you need to be careful is to have all the important content of the picture in the 320x480 area in the middle, and use the rest of the space just for filling it with theme content.

You can have a picture with the double resolution for retina devices (background@2x.png) without changing anything.

Hope it helps.

[import]uid: 70003 topic_id: 33534 reply_id: 133268[/import]