Wednesday, 7 August 2013

Rain in cocos2d


       
        CCParticleRain* part=[CCParticleRain node];
        part.texture=[[CCTextureCache sharedTextureCache] addImage:@"heal.png"];
        part.position=ccp(500, 750);

        [self addChild:part];

//add a png of a particle as named above heal.png