I drew a line from (0,0) to (100,100) and the only device that had the line starting from the very top, left corner was the iPhone and iPhone4. All other devices had the line starting from a different point on the screen. Why is there a difference, by device, in where 0,0 is? And what are some of the best ways to account for it during development? [import]uid: 213270 topic_id: 34886 reply_id: 334886[/import]
It’s caused by using letterbox as the zoom in config. To get the very corner use display.screenOriginX display.screenOriginY to get bottom use -2*display.screenOriginX+display.contentWidth [import]uid: 7911 topic_id: 34886 reply_id: 138654[/import]
Ah, I see! Thanks a lot! [import]uid: 213270 topic_id: 34886 reply_id: 138658[/import]
welcome [import]uid: 7911 topic_id: 34886 reply_id: 138659[/import]
It’s caused by using letterbox as the zoom in config. To get the very corner use display.screenOriginX display.screenOriginY to get bottom use -2*display.screenOriginX+display.contentWidth [import]uid: 7911 topic_id: 34886 reply_id: 138654[/import]
Ah, I see! Thanks a lot! [import]uid: 213270 topic_id: 34886 reply_id: 138658[/import]
welcome [import]uid: 7911 topic_id: 34886 reply_id: 138659[/import]