Hi. I have a sprite sheet that loads in my game, nuclear chickens. As you can see from the image below, I never quite figured out the dynamic resolution for the sprite sheets, help with that is appreciated too.
I have tested this game on every virtual platform corona offers, and it looks fine. I tested it on my iPad (the only device I have) and it works fine. I had a guy test it on his iPhone 4 running 4.3.2 update, and he sends me the screenshot below.
It appears like this when the dimensions are off, is there something I missed in the configuring this?
Chicken code
local sheet1 = sprite.newSpriteSheet( "sprites/chick.png", 82, 82 )
local spriteSet1 = sprite.newSpriteSet(sheet1, 1, 12)
sprite.add( spriteSet1, "sprites/chick", 1, 12, chickTTL, 1 )
config.lua
application =
{
content =
{
width = 320,
height = 480,
scale = "zoomStretch",
fps = 60,
antialias = true,
xalign = "center",
yalign = "center",
imageSuffix =
{
["@2x"] = 2,
},
},
}
Screenshot:
http://www.nmile.com/glitch.png
How it should look:
http://a4.mzstatic.com/us/r1000/019/Purple/b0/bf/62/mzl.ooycprns.320x480-75.jpg [import]uid: 13726 topic_id: 9619 reply_id: 309619[/import]