ccspritebatchnode not using anchor point

ccspritebatchnode not using anchor point
0.0 0


i have a batch node. i am scaling it in and out its working perfectly. only problem i am facing is that it always scale according to the bottom left anchor point i want to scale it according to top left anchor point although i have set the anchor point at top left but its not using it. any idea how to fix this i dont want to scale children one by one as i am already setting individual scales on it. regards


Just from a cursory read of the batch node source code, it doesn’t appear to work the way you want it to.

Probably best to do CCNode > CCSpriteBatchNode> CCSprite … skip any positioning and scaling on the CCSpriteBatchNode and use a higher level CCNode parent for that.