Hey everyone,
I’m converting everything over to the new sprite API since it supports dynamic resolutions. I’m using the latest TexturePacker beta which exports a lua file that’s compatible with the new API. Everything works great for regular resolution images (320x480 “base” resolution), but I’m having problems with @2x. I checked the lua file generated, and it does properly define sheetContentWidth and sheetContentHeight (256x256 in my case for standard res image sheet). I used the exact same method with TexturePacker to generate a 2x image sheet (512x512) and I simply placed it into my project folder alongside the standard res. When playing the frames, the sprite “jitters”. It seems like the x and y points are getting offset by a few pixels each frame.
Here’s a video of regular resolution (ignore the choppiness, just focus on the x/y pos):
http://dl.dropbox.com/u/3371101/Screen%20Recording%2039.m4v
And here’s a video of the 2x file running:
http://dl.dropbox.com/u/3371101/Screen%20Recording%2040.m4v
Any idea why this is happening?
Thanks! [import]uid: 51654 topic_id: 25532 reply_id: 325532[/import]