What are your guys' style of mapping coordinates?

People have said it is better practice to use a position relative to screen.width and screen.height such as (screen.width/2) and (screen.height-100) for example the middle bottom of the app.

What are your guys’ style? [import]uid: 49300 topic_id: 34375 reply_id: 334375[/import]

I never ever do this. All my apps (games) use exact positioning with constant absolute values. Moreover, I always develop for iPad screen proportions (the least elongated screen format) using letterbox scaling and then just find a way to elegantly fill the screen parts of taller devices with relevant or nice graphics. [import]uid: 70134 topic_id: 34375 reply_id: 136641[/import]

I figured using that method would allow for the app to adjust to any kind of phone (from an Android mindset) but yeah for me for Apple devices I use exact coordinating. [import]uid: 49300 topic_id: 34375 reply_id: 136644[/import]

I use both ways. I use the screen.width/2 like you posted. I think that way will give you a true center across all devices. But if I have an object just of the left side I will use the true value like object.x = 20. [import]uid: 75779 topic_id: 34375 reply_id: 136670[/import]

I use the relative positioning. It’s a little more math and perhaps a bit harder for someone to follow in my foot steps, but it allows for responsive designs in that GUI elements that need to be a fixed distance from the top, bottom, left or right edges stay a fixed distance away from the edges. Then core things that need to be a fixed distance apart are based off of the center points of the screen, like an angry birds game:

Slingshot.x = display.contentCenterX - 150
PigHideout.x = display.contentCenterY + 150

positions them 300 px apart and stays in the center of the screen regardless of device. This concept isn’t that strange since we are used to positioning our graphics based on their reference point being the center of the graphic.
[import]uid: 199310 topic_id: 34375 reply_id: 136679[/import]

I do a mix of both - display.contentWhatever for exact position objects, and simple setting of x and y for everything else. [import]uid: 147322 topic_id: 34375 reply_id: 136684[/import]

I never ever do this. All my apps (games) use exact positioning with constant absolute values. Moreover, I always develop for iPad screen proportions (the least elongated screen format) using letterbox scaling and then just find a way to elegantly fill the screen parts of taller devices with relevant or nice graphics. [import]uid: 70134 topic_id: 34375 reply_id: 136641[/import]

I figured using that method would allow for the app to adjust to any kind of phone (from an Android mindset) but yeah for me for Apple devices I use exact coordinating. [import]uid: 49300 topic_id: 34375 reply_id: 136644[/import]

I use both ways. I use the screen.width/2 like you posted. I think that way will give you a true center across all devices. But if I have an object just of the left side I will use the true value like object.x = 20. [import]uid: 75779 topic_id: 34375 reply_id: 136670[/import]

I use the relative positioning. It’s a little more math and perhaps a bit harder for someone to follow in my foot steps, but it allows for responsive designs in that GUI elements that need to be a fixed distance from the top, bottom, left or right edges stay a fixed distance away from the edges. Then core things that need to be a fixed distance apart are based off of the center points of the screen, like an angry birds game:

Slingshot.x = display.contentCenterX - 150
PigHideout.x = display.contentCenterY + 150

positions them 300 px apart and stays in the center of the screen regardless of device. This concept isn’t that strange since we are used to positioning our graphics based on their reference point being the center of the graphic.
[import]uid: 199310 topic_id: 34375 reply_id: 136679[/import]

I do a mix of both - display.contentWhatever for exact position objects, and simple setting of x and y for everything else. [import]uid: 147322 topic_id: 34375 reply_id: 136684[/import]