Improved Tile Culling for a CCSpriteBatchNode
Improved Tile Culling for a CCSpriteBatchNode in cocos2d v2.0

Trisector uses tile maps for the Base terrain layer and the Collision terrain layer. The tiles for each layer are managed using a CCSpriteBatchNode which includes the tiles being displayed in the current viewport. This article will discuss two methods of tile culling for a CCSpriteBatchNode, where the first is a node based approach (slower) and the second is a quad based approach (faster).