iPad 3 Corona Display Issue [was: Corona performance on iPad 3 Retina display, and how to implement?]

@Carlos

Was just trying to make other devs aware of this. I’m sure you guys are working on getting it up and running :slight_smile:

@dingo

Just add another scale factor in your config.lua? The same way you define @2x graphics, just do the same thing for @4x?

So it would look something like this:

http://dl.dropbox.com/u/3371101/coronaipadconfig.tiff

Except underneath the @2x line, you would do the same thing except it would be 4.0 and @4x instead of 2.0 and @2x. Then your app will need to have 3 sets of resolutions (regular iPhone, retina iPhone, and retina iPad). It’ll look perfect on all devices then :slight_smile: [import]uid: 51654 topic_id: 22975 reply_id: 91952[/import]

@naveen: thanks for that, but this is my issue! i know that it would work, but that means i need to included in my new build gfx for the ipad3, which means doing 200 spritesheets with hires gfx. what results in a huge filesize. over the air not possible. and so on :slight_smile:

that’s why we wanted to do a special ipad3 version. but this is not possible i guess. so we really might have to do the whole game in hires…

or we just leave it as it is, and our retina gfx will get scaled up. might still look ok i guess? [import]uid: 90610 topic_id: 22975 reply_id: 91953[/import]

@dingo: I would add an option do download high resolution file to the game if the game is an iPad3 and use those file instead of the low resolution. That pretty much what I’m thinking to do for my game.

Not sure how I will implement this… but I was thinking of adding an xml file with a complete file list and download each file and put them into the document directory… ( this is all in my head )
[import]uid: 64835 topic_id: 22975 reply_id: 91955[/import]

@fstrudel: yes, something like this. but what came to my mind now: i guess all the ipad apps run fine on the ipad3? since now 1 pixel actually is 4 on the new display, they could simply use 4 instead of 1, so old games still look ok? since the size of the screen is the same? I mean they want the games to run well on the ipad3 too i guess? :slight_smile:

…so we might have no problems at all. and if i want to have hires stuff, i could put them into, dynamic scaling of ansca will do the rest.

…I guess we are fine then? [import]uid: 90610 topic_id: 22975 reply_id: 91956[/import]

@dingo:

\_scale = tonumber(string.format("%." .. (1) .. "f", 1/display.contentScaleY))  
  
if \_scale == 1 then  
\_documentCheck = system.ResourceDirectory  
elseif \_scale == 2 then  
\_documentCheck = system.DocumentsDirectory  
end  
local myDynamicImage = display.newImageRect( "Untitled1.png", \_documentCheck , 100, 100 )   

Untitled1.png is in system.ResourceDirectory
and
Untitled1@2x.png is in system.DocumentsDirectory

and it working perfectly
[import]uid: 64835 topic_id: 22975 reply_id: 91958[/import]

My guess is that game will run fine but the look will be pixelated. [import]uid: 64835 topic_id: 22975 reply_id: 91959[/import]

thanks!

and yes, I agree. we will see :). [import]uid: 90610 topic_id: 22975 reply_id: 91960[/import]

Actually due to the new iPad I really think it would be usefull to have the posibility to have some kind of archive we could store file in it and unzip the file so we don’t have to download 200 something files
[import]uid: 64835 topic_id: 22975 reply_id: 91973[/import]

Dingo, of course there’s a huge chance you’ll be fine – or do you think Apple would introduce a new iPad that would make 99% of the iPad look bad suddenly? Your game should look just the same as it does on the iPad 2, perhaps with more vibrant colors. As soon as more and more iPad-Retina apps are released, users may *slowly* associate your app with more “pixelation” than before (because they are now so used to Retina), but that won’t happen on day 1, and it’s also not a huge competitive disadvantage unless every app has Retina support and your only advantage is to be an app showing off graphics.

As far as graphics and download sizes go, I wonder if there’s the possibility (in Corona, or otherwise) in the future to just provide the highest-res graphics, and then have the app generate the other graphics permanently during the first run of the game, as a one-time conversion. This way you’d still have to provide the bunch of highest-res Retina graphics, but at least not the medium- and lo-res ones.

Of course, I’m not talking about the chance of a potential Corona issue, that’s different. Just talking about apps in general.

003naveen, let’s keep pressing thumbs then and hope it’s only a simulator issue. [import]uid: 10284 topic_id: 22975 reply_id: 91975[/import]

@Philipp: thanks! I have cooled down, sometimes people are worried too much :). we all will be fine :slight_smile: [import]uid: 90610 topic_id: 22975 reply_id: 91976[/import]

Agree with Philips that since the screen size remains at 9.7 inch it will be keeping the graphics pretty sharp.

If they had increased the graphics to 12 inch for example we would have been in trouble. [import]uid: 64835 topic_id: 22975 reply_id: 91979[/import]

I’d expect as with the old stuff having a X2 button to press there will be an X4 button and the iPad can scale if it’s not made specifically for it, else it can autoscale with Corona or you can use multiple assets in Corona to chose your FunkyAnimation@4x.png automatically [import]uid: 10389 topic_id: 22975 reply_id: 92083[/import]

Blue, no, that’s not what I heard. No 4x button (Apple would not do itself a favor, as it would make the iPad 3 usability worse than the iPad 2). All old apps will automatically scale to full screen (unless there’s a bug in the app). [import]uid: 10284 topic_id: 22975 reply_id: 92149[/import]

It’s kind of funny how people say that their app will look pixelated on the iPad 3. Yes, theoretically it will be pixelated or blurry due to upscaling to the new resolution, but in practice the 4 new pixels are exactly the same size of 1 old pixel, so in reality it will either look the same (if the 4 new pixels are coloured in with the same colour as the old pixel) or a bit blurred, but at such a small size that you probably won’t even notice. So in short, running iPad 3 games at iPad 2 games will look good, guys, no worries. It’ll be more of a “if you want to use the full res then do so, if not it’s okay as well”.

You know, most of my PS3 games run at 720p resolution on my 1080p screen as well, and it looks perfectly fine. So quit crying people! :slight_smile:

Cheers,
Thomas [import]uid: 70134 topic_id: 22975 reply_id: 92150[/import]

Did anyone else tried to see how their Corona apps look in the new XCode simulator for iOS 5.1, and did you have the same problem with only a 1/4 of the screen being cropped, as Naveen ?
[import]uid: 80100 topic_id: 22975 reply_id: 92166[/import]

@nosheet For what its worth, I tried on 3 of my Universal apps and the same thing happens on each. I also tried playing around with my config.lua and trying different scale modes. It always still only showed 1/4 of the screen.

Anyone can easily download Xcode and build for the simulator via Corona to try it out. It only takes a couple seconds (other than downloading the latest Xcode). [import]uid: 51654 topic_id: 22975 reply_id: 92198[/import]

Thanks, Naveen.
Yeah actually I downloaded the latest XCode, but first I have to go through messy business of installing OSX Lion, and before that, do the Snow Leopard update and back up everything, and probably will need to reinstall Windows again, as Lion has been frequently reported, during installation process, to mess up the partition table rendering boot camp Windows partitions unusable during…
That’s why I asked to see other experiences because I am not sure when I will be able to have this time available.
Every new Apple release is a consumers’ joy and developers’ headache :slight_smile:
[import]uid: 80100 topic_id: 22975 reply_id: 92201[/import]

Yes my Apps are the same, either it will all be fine on the device and it’s wrong on the emulator or it’s broken!! [import]uid: 8697 topic_id: 22975 reply_id: 92666[/import]

Further to investigation button presses happen on the screen as if it 2048x1536 but obviously the images don’t scale correctly though. [import]uid: 8697 topic_id: 22975 reply_id: 92667[/import]

Maybe it’s time that we have vector drawing abilities inside of Corona to circumvent the graphic size problems. Something like SVG or like Flash, after all Ansca is co-founded by the guys that worked at Adobe.

That seems like the only resolution when we have the new Retina Desktops, etc.

Vector Graphics… [import]uid: 3826 topic_id: 22975 reply_id: 92718[/import]