Hello,
I developed an app on windows/android, everything is fine.
But when I tried to build for iOS, I found a big problem.
There is a big png file (2112*1344) that I use for drag-able background.
I just created it by:
local bg = display.newImage(“res/bg.png”, x, y)
It behaves correctly on windows simulator and all android devices I have.
However, the image on mac simulator/iOS device is different.
The image size is not really 2112*1344, it will be scale (down), the scale factor varies with device.
Thus I can’t get a correct full background.
I don’t get it, why is this happening on mac?
Is it the size that lager than 2048 causes this problem?
If I use imageSheet to deal with it, will it be different? (unfortunately I don’t have a mac to test now)
And if the background is combined from the imageSheet, will it save some memory for me?
Thanks for reading/reply.