Hello,
I'm new to Gideros, hope you guys can help me to answer my basic question.
I see that application:getDeviceWidth/getDeviceHeight return correctly on Gideros Player (select iOS resolution of iPhone 6S, and iPhone 6S Plus), but wrong on real devices.
Here is what I get on real device:
- iPhone 6s: 640×1136 (it should be 750x1334)
- iPhone 6s plus: 960x1704 (it should be 1242 × 2208)
Is this correct behavior or did I make sth wrong?
Thank you.
Comments
It is best to use this command to determine the actual screen sizes:
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
Could you please explain why that option affects to the result? What does it mean? Why it is scaled based on the 320x568 (which is from iPhone 5)?
PS: After turn off Retina Display in Gideros Editor, I get 320x568 on both iPhone 6s and 6s plus. I don't know what is the logic behind this, but it should be (in points) 375 × 667 for iPhone 6S and 414 × 736 for iPhone 6S Plus.
Maybe these 2 articles will help you
http://docs.giderosmobile.com/automatic_image_resolution.html
http://docs.giderosmobile.com/automatic_screen_scaling.html
ps/You may need to compile the game to get the exact settings.
https://play.google.com/store/apps/developer?id=razorback456
мій блог по гідерос https://simartinfo.blogspot.com
Слава Україні!
That what I referenced to, according to that we should have:
+ iPhone 6s: 375 × 667(points) and 750x1334 (pixels) => Gideros gives me: 640×1136 (pixels)
+ iPhone 6s plus: 414 × 736(points) and 1242 × 2208 (pixels) => Gideros gives me: 960x1704 (pixels).
I don't know what is the logic behind this.