there are two images like this:
they are the same graphic in the different size (the large one with some empty area
then I try this:
----------------------------------------------------------
function main()
local bg\_img = display.newImage("bg.png")
local bg\_cloud1\_img=display.newImage("res\_bg\_cloud1.png")
local bg\_cloud2\_img=display.newImage("res\_bg\_cloud2.png")
bg\_cloud2\_img.y=300
end
main()
--------------------------------------------------------
the result is:
the res_bg_cloud2.png (the smaller image) was appeared like double size ?
you can download the test file here: Download [import]uid: 5376 topic_id: 695 reply_id: 300695[/import]
Hi Maso, there is currently a bug in the code when your image sizes are larger than the screen dimensions; we are being inconsistent about auto-scaling your image down to screen size. Until it’s fixed (probably next update), make your image sizes so they fit inside a 320x480 screen.
walter
[import]uid: 26 topic_id: 695 reply_id: 1421[/import]