Hi
I’m building a 4-way scroller and would like it to be a universal build, targetting ios and android devices. I have two sets of graphics in spritesheets, hd and sd. I don’t want the game to run in a letterbox on the iPad or any other large device.
The problems for auto scaling (without letterbox effect) occur when trying to exactly fit a screen designed for one resolution into a different one where the x-axis scale is different to the y-axis scale. On a 4-way scroller this is not a problem as only 2 adjacent edges are ever on screen at the same time.
To implement this I need to be able to accurately scale the x and y coordinates of sprites, but not the sprites themselves and for this I need the actual pixel dimensions of the host device.
Using ScaleFactor only gives the letterbox dimensions, so my question is simply this:
Does Corona have access to the actual host device dimensions in pixels and can (and will) they be exposed for developers’ use?
all the best
Sean
[import]uid: 101690 topic_id: 22956 reply_id: 322956[/import]