In config.lua, I have set the application’s content width and height to 750 x 1334
The fullscreen images I am using are .jpg files which are 750 x 1334
Basic code:
local setupScreen1 = display.newImage(group1,"FirstSetup1.jpg",375,667) print("height of image: " .. setupScreen1.height)
Running the simulator as iPhone 5, iPhone 6, iPhone 6 Plus, iPad Air, or iPad Pro results in a height of 1334 as expected.
Running the simulator as iPhone 4 or iPad Mini results in a height of 1024, and the image does not fill the screen.
The image is still centered, with (x,y) of (375,667) being the center of the application’s content of 750 x 1334
Can anybody explain this behavior so I can best more forward positioning images within my app’s view on different devices? Thanks so much in advance!