我正在尝试让我的Cocos2d-iPhone中的粒子系统拥有无限量的粒子。这是我到目前为止的代码。
//Create the particles
CCParticleExplosion *explosion = [CCParticleExplosion particleWithTotalParticles: PARTICLECOUNTER];
explosion.anchorPoint = ccp(0.5f, 0.5f);
explosion.color = [CCColor colorWithRed:0.1f green:0.2f blue:0.5f alpha:1.0f];
explosion.life = 100.0f;
explosion.positionType = CCPositionTypeNormalized;
explosion.position = ccp(0.5f, 0.5f);
[self addChild:explosion z:0];
什么应取代PARTICLECOUNTER?