Reputation: 27191
I have found this link for understanding how to create animation path for sprite using Adobe tools and plist file. But I still can't figure out how to create parser for this file. Is there already made solution how to do it or do I need to create it in my own?
Upvotes: 0
Views: 873
Reputation: 9089
This will parse the file, load the texture, and create all the spriteFrame objects you need:
[[CCSpriteFrameCache sharedSpriteFrameCache] addSpriteFramesWithFile:@"myFrames.plist"];
Upvotes: 1