First of all, I just have to say cocos2d has been great for me so far. Its only problem right now is an awful lack of documentation (or is it just me?). If someone will be kind enough to help me with the following matter:
I read anything I could find about AtlasSprite vs Sprite, but I couldn't quite get it through completely. So to clarify the matter, I have a several questions:
1. If, for example, I have 90 different pictures to draw, is there a significant difference in performance between regular Sprite and AtlasSprite? or AtlasSprite is more efficient only when I draw the same picture over and over?
2. What exactly are the advantages of the regular Sprite on the AtlasSprite? except it's more simple to use.
3. Is it possible to make a sprite animation and switch between frames with AtlasSprite, as with Sprite and Animation?
with the regular sprite I would have done:
Animation *anm = [[Animation alloc] initWithName:@"walk" delay:0];
[anm addFrame:@"frame1.jpg"];
[anm addFrame:@"frame2.jpg"];
[anm addFrame:@"frame3.jpg"];
Sprite *spr = [[Sprite alloc] initWithFile:@"frame1.jpg"];
[someSprite addAnimation:anm];
[someSprite setDisplayFrame:@"walk" index:someFrame];
How do I do that with AtlasSprite?
thanks!