Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Tips For Creating iTablet-Friendly Apps?
Started by Dotnaught Jan 19 2010 04:41 AM

- - - - -
1 reply to this topic
This topic has been archived. This means that you cannot reply to this topic.
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Contributor

  • 370 posts
  • Corona SDK

Aside from obvious considerations, like using display.StageWidth and display.StageHeight rather than fixed screen dimensions, what are some of the steps one should take to ensure apps work on different screen sizes?

Would it be advisable, for example, to include different sizes of .png files so images of the appropriate scale and be used?

Anything else come to mind?
uid: 1560 topic_id: 403 reply_id: 300403

[TOPIC: post.html]

carlos m. icaza

[GLOBAL: userInfoPane.html]
carlos m. icaza
  • Corona Geek

  • 2,992 posts
  • Alumni

Yes, images of different image sizes, scales and never hardcode coordinates. also it is easier to scale down than to scale up and what I mean is that if you have a png that is small, scaling it up will pixel it. It is easier to have a bigger png and to scale down as well.

also use relative locations rather than absolute, divide the screen realty into quadrants based on a relative position than an absolute and then each quadrant can represent "top bar", "bottom bar", "draw area", etc.


uid: 24 topic_id: 403 reply_id: 728