I am making a game, using dynamic image scaling, and have specified the width (320) and height (480) in the config file using a scale of letterbox.
Is there a way to determine the x,y coordinates or the actual width and height of the device running the application? I am asking because I would like to be able to put user controls in the upper left hand corner of the screen, regardless of screen resolution/aspect ration.
So on an iphone, using the dimensions I have used, the upper left hand corner of the display will be (0,0). However on one of the android phones, it may be (-10, -20). Likewise, the total display dimensions will be 320x480, however the android phone may be 350x520.
Is there an easy way to put stuff directly at the edge of the screen, regardless of the resolution, while still using the letterbox scaling?
[import]uid: 47373 topic_id: 11052 reply_id: 311052[/import]
