iPad app stack size

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
michel_bujardet
Posts: 45
Joined: Mon Apr 21, 2014 10:41 am
Contact:

iPad app stack size

Post by michel_bujardet » Mon Sep 29, 2014 12:58 pm

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.

Mitch
http://FontMenu.com

Klaus
Posts: 14177
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: iPad app stack size

Post by Klaus » Mon Sep 29, 2014 9:39 pm

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

michel_bujardet
Posts: 45
Joined: Mon Apr 21, 2014 10:41 am
Contact:

Re: iPad app stack size

Post by michel_bujardet » Mon Sep 29, 2014 11:52 pm

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 :)

Mitch
http://FontMenu.com

Post Reply