Alternative for object pools in cocos2d-x v3.3 -
i migrating game andengine, there used object pools efficient use of objects bullets etc in game. alternate have in cocos2d-x scenario?
unfortunately cocos2d-x doesn't have built-in object pool. cocos2d-js(cocos2d-html5) have in extensions.
- http://cocos2d-x.org/docs/manual/framework/html5/v3/cc-pool/en
- https://github.com/cocos2d/cocos2d-html5/blob/develop/extensions/ccpool/ccpool.js
but can implement own object pool example of cocos2d-x book.
Comments
Post a Comment