I ended up understanding and using @zvardin's link.
local dx = application:getLogicalTranslateX()/ application:getLogicalScaleX()local dy = application:getLogicalTranslateY()/ application:getLogicalScaleY()local ex = dx + application:getContentWidth()local ey = dy + application:getContentHeight()
actually this method will work for only on know ratio it will not work when new device launched with new type of aspect ratio or might be any missed ratio also for the resolutions like 480x800 and 480x854 ratio would be almost same. so i think my method is better for all kind of resolution
Comments
Likes: hgvyas123
http://BlueBilby.com/
http://BlueBilby.com/
http://BlueBilby.com/
http://BlueBilby.com/