hi, i am updating codes for my 2 years old game to accomodate higher res gadgets. After updating all images (to use higher res graphics), I find one problem with my game. I still use sprite.lua and “old” codes for sprites movement in my game:
waiter = sprite.newSpriteSheet("MonkeySprite.png", 56, 67) waiterset = sprite.newSpriteSet (waiter, 1, 12)
i use this kind of code for my sprites movement (such as player movement). because now i have much bigger sprite image, these codes dont work anymore because the autoscaling simply doesnt work here.
I changed all display.newImage codes to display.newImageRect for scaling issues but i wonder how to do the same thing with sprites? I have googled about this and found out this link: http://coronalabs.com/blog/2012/10/02/animated-sprites-and-methods/
but still, i am confused about how to “convert” my old sprite codes to the newer one so my sprite image can scale perfectly? Thanks.