iPad to iPhone Dynamic Images

I have an iPad game I’m porting to the iPhone. After reading the docs I am realizing it might have been easier to go from iPhone to iPad.

On my iPad version I have 1024x768 graphics. I’ve scaled my iPhone content to fit the iPhone 4 (I only want 4 and 4S for now) 640×960 resolution.

So in my imageSuffix piece in my config file I’d have something like:

application =  
{  
 content =  
 {  
 width = 320,  
 height = 480,  
 scale = "letterbox",  
   
 imageSuffix =  
 {  
 ["-IPAD"] = ??,  
 },  
 },  
}  

The question is, to go from a base image of (for example) 1024x768 to 960x640 what should the scale factor be? I believe it’d be a factor of 0.93 scaling down or scaling up it’d be 1.066. Do I use these factors or just a generalized one? A factor of 2 wouldn’t work here right?

Thanks for the help. I’m guessing i’m just missing something obvious here…

-David [import]uid: 27681 topic_id: 24124 reply_id: 324124[/import]

I wish I could help you, I found this by searching for the same question. I am just starting my app so while I can use the 320x480 setup, I want to use 1024x768 because my app is primarily for iPad but I want it to work on iPhone as well. Did you ever figure out a solution to this?

Thanks [import]uid: 19620 topic_id: 24124 reply_id: 113288[/import]