Hi the Coronians,
I just noticed something that I think wrong about Corona Simulator.
First, when I write this code :
print(display.contentHeight) print(display.contentWidth)
then launch the app, here’s what I get:
480 320
Problem is, if I change the device with “View as” option, I get exactly the same figures, no matter what device I’m on (Galaxy SIII, iPhone, Kingle, etc…). Are they not supposed to have different resolutions?
This consequently add some display problems when I code using these display.contentHeight and _display.contentWidth, _For example I will have a different results on different devices with that piece of code :
local background = display.newImage( "BG.png" ) background.height = display.ContentHeight background.width = display.ContentWidth
On Galaxy SIII and other, I still have black borders on the top and bottom.
I don’t think that’s normal, so I’m turning on you.
Any idea (I precise that I’m on Windows 8.1, if that can help)?
Thanks in advance,
Thomas