Hello,
From the corona simulator, here is what I get:
iphone 4s:
pixel width: 640, scale factor: 2
ipad air:
pixel width: 1536, scale factor: 2
I am using “adaptive” content scaling.
–print(display.pixelWidth / display.actualContentWidth) to get scale factor.
Now, since both have scale factor of 2, solar2d will select @2x suffixed image for both of them. If I have an image that goes from very left to very right of the screen, how long should I make that @2x image when drawing in illustrator, 640px or 1536px so that the image scales nicely to the display?
Thanks