unfortunately I’m not able to use texturepacker because it crashes immediately on my machine
can you suggest any other software for windows ?
or please can you provide plist xml example which will work for this code ?
CCAnimationCache *cache = CCAnimationCache::sharedAnimationCache();
cache->addAnimationsWithFile("animations/animations-2.plist");
CCAnimation animation = cache->animationByName("dance_1");
CCAnimate animate = CCAnimate::create(animation);
sprite->runAction(animate);