The second sprite is drawn but it size is scaled? And boudingBox returns the same size when i don’t add them together and when 1 sprite add to another.
Before addChild i set here and here scale to 1
then i add
CCSprite* sprite1;
CCSprite* sprite2;
sprite1~~>addChild
next set scale on sprite1
sprite1~~>setScale(myScale)
now images are drawn correct but bounding box is returned like it hasn;t any scale so you can simply * scale and all will be ok.
Any changes you make on the parent will propagate through the child. For example, change the parent’s scale to 2.0, the child will also be scaled to 2.0.
When using getContentSize() or boundingBox(), this will return the original sizes, not the scaled ones.