I didn't see any examples of creating a box2d body and adding an animated sprite to it. I'm having problems with this. I can get it working but the sprite is not lined up properly with the box2d body. I'm using texture packing too. I would like to play the animation on demand. I'm not sure what the best way to do this.
Comments
For each bitmap, set it's anchor point to 0.5.
And use movie clip to create animation.
You can set a default image to be shown and create a function to play animation
Likes: avo
iTunes: http://itunes.com/apps/glennbacon
Amazon: http://www.amazon.com/s/ref=bl_sr_mobile-apps?_encoding=UTF8&node=2350149011&field-brandtextbin=Glenn Bacon
Animating Box2d objects
http://appcodingeasy.com/Gideros-Mobile/Animating-Box2d-objects
Likes: atilim
iTunes: http://itunes.com/apps/glennbacon
Amazon: http://www.amazon.com/s/ref=bl_sr_mobile-apps?_encoding=UTF8&node=2350149011&field-brandtextbin=Glenn Bacon