Akash049 / andengine

Automatically exported from code.google.com/p/andengine
0 stars 0 forks source link

Is it correct sprite animation? #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Have a texture with 2 animations (one texture region)
2. Create 2 AnimationSprite's
3. Start first animation for first sprite and second animation - for second 
sprite

What is the expected output? What do you see instead?
I want to see different different animations of the sprites using one texture 
region, but see thats' the sprites have one animation 

Original issue reported on code.google.com by cih.exe...@gmail.com on 7 Dec 2010 at 9:05

GoogleCodeExporter commented 8 years ago
You have to ".clone()" the TiledTextureRegion to make two non-synchonous 
animations.

Original comment by NicolasG...@gmail.com on 23 Dec 2010 at 12:08

GoogleCodeExporter commented 8 years ago
Nicolas, 
Thanks i found this workaround long time ago ;)
(Just was little lazy to create a clone)

Original comment by cih.exe...@gmail.com on 23 Dec 2010 at 3:07