Page 1 of 1

iPad app stack size

Posted: Mon Sep 29, 2014 12:58 pm
by michel_bujardet
I want to design an app for the current iPad Retina and iPad air, but am puzzled by the nature of the Retina screen , which distinguishes between the number of points 1024x768 and the number of pixels. I found this where all screen sizes are indicated http://www.iosres.com/

My question is : what size should I make my stack ? 1024 x 768 ?

Thank you.

Re: iPad app stack size

Posted: Mon Sep 29, 2014 9:39 pm
by Klaus
Hi Mitch,
michel_bujardet wrote:what size should I make my stack ? 1024 x 768 ?
yes :D

Livecode will scale this to double size on retina displays, so if you use a lot of images you can supply HI-RES version of the used images.
This will however only work with REFERENCED images!

Here is how this works:
In your 1024*768 stack use your referenced image(s)
Example:
a_nice_landscape.jpg

Then put the hi-res version (double sized) of that image into the same folder and name it:
a_nice_landscape@2x.jpg

Livecode will use the hi-res version on retina displays and the "normal" version on other displays.
Automatically, no scripting :-)

Does work with ALL referenced images, means also with images used as icons in buttons!

Hope that helps!

Best

Klaus

Re: iPad app stack size

Posted: Mon Sep 29, 2014 11:52 pm
by michel_bujardet
Klaus wrote:Livecode will use the hi-res version on retina displays and the "normal" version on other displays.
Automatically, no scripting :-)
Great. Thank you Klaus :)