Leszek S wrote:
I would also like to know if batching with cocos2d-x is possible in such situation. Did you figured it out?
No, it’s not. I wrote a metarenderer which “disables” CCSprites from the complicated tree node call and draws them on the metalayers by 1 call per layer/texture. Objects must be tweaked manually if you have multilayered CCB file (I believe, you do) with “set meta level” routine.
The code is still raw, but it gave me drop from 600 draw calls on the most complicated scene to an acceptable value of 14.
It doesn’t support rendering CCLayerColor and similar, only CCSprites (including CCLabelBMFonts, CCMenuItemSprites and everything).
When I finish it, I could share the code.