this is a macro for scrolling every object inside CCArray ... an alternative would be objective-c foreach for (object in array) , which would look like this:
for (CCSprite *sprite in [spriteBatch children]) { ... }
this is for NSArray and NSMutableArray, but I think it works fine for CCArray too.
Kdaker
source share