Hi all,
I'm moving from following Cocos2D tutorials, to coding my own game, and I'm having trouble trying to sort out how all the various sprite elements work together.
I get that AtlasSprite is more efficient than regular sprite.
What confuses me is AtlasSpriteManager, TextureAtlas. I'm just not sure what they're for, and how to use them.
I would have thought that the AtlasSpriteManager was for managing groups of sprites, but I'm confused as to why I can create an ASM with an image - I didn't think the ASM was a visible object.
As for TextureAtlas, am I correct in thinking that a textureAtlas is used to reduce the memory issues associated with loading many textures, by loading them all at once. And, when I need to change the texture on an existing AtlasSprite, I pull that texture from the already loaded TextureAtals?