Hi
I’m trying out the new “modernized config.lua” as explained here:
http://coronalabs.com/blog/2013/09/10/modernizing-the-config-lua/
Before, my config.lua had width=768 and height=1024 and everything I placed on screen had absolute position values such as
bitOfText = display.newText(myGroup, "blah blah ... " , 130,250,232,0, FONT\_NAME, 60 )
Under this system, I was developing on my iPad but If I looked at this in a phone simulator it looked fine and the positioning was all the same.
Now with the new config.lua, the positioning is completely different depending on the device I view ini the simulator. OK I get that. Would I also be right in assuming that If I use a value such as display.contentHeight - 100 , this will position differently depending on the device in question, because 100 on an iPhone is different from 100 on an iPad?
If so, is it best to express all positions not in numbers but rather completely in terms of display.contentWidth and display.contentHeight?
thanks,
david