cocos2d iphone - Is it possible to use CCSpriteBatchNode with single file images -


What CCSpraybate node can be used with animation that uses single image files is this animation that I made I am:

  CCAnimation * begFlamesAnim = [cc animation animationfile: @ "betflams_" framecount: 54th delay: 0.03f];   

Is it possible or does CCSpriteBatchNode only work with spritehets?

A CCSpriteBatchNode and CCSprite should use the same texture in children. If you use personal images, you create personal textures for each image. You can not then spraybatch, and it is wasting memory in comparison to texture atlas with all these images.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -