I might be mistaken, but I believe if you use those last 4 parameters… sourceX, sourceY, sourceWidth, sourceHeight… you’re telling Corona that you actually WANT to trim the sheet and ignore the transparent pixels around. Apparently you don’t want to do that… you want to keep those pixels as part of the overall map, so the positioning works out properly.
Those 4 parameters are totally optional with image sheets. They are useful, and necessary, for ultra-controlled trimming and optimization. But if you want to recognize the sheet with transparent boundaries around, don’t specify them. Again, this is what Texture Packer does “beyond Corona” when you might not actually want that to occur.
Corona offers them because many developers want extreme control over sheet trimming, frame padding, etc… but they remain optional.
Brent [import]uid: 9747 topic_id: 32544 reply_id: 129624[/import]
[import]uid: 9747 topic_id: 32544 reply_id: 129683[/import]