Hi everyone,
I’m developing a game, in which I have some characters made by multiple sprites. For example, the enemy class is a CCSprite initialized with the enemy’s body png and has some CCSprites to add additional body parts; like clothes face expresions, etc… Something like that: http://www.cocos2d-iphone.org/forum/topic/40139#post-191944
My question is the following one: if I add the entire enemy class to the batchnode, I’m adding only the body sprite (the one used to initialize the class) or it automatically adds his children too? In other words; in the enemy class I have to add the children directly to the batchnode or it’s possible to do this->addChild(face,z); and after that add the entire enemy object into the batch?
Thanks,
Mikel