Advertisement
julong

particle rain

Apr 11th, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. particle rain
  2. ///////////////////////
  3. CCParticleSystem* rainEmitter = [CCParticleRain node];
  4. rainEmitter.life = 4;
  5. rainEmitter.texture = [[CCTextureCache sharedTextureCache] addImage: @"rainDrop.png"];
  6. rainEmitter.startSize = 10.0f;
  7. [self addChild: rainEmitter z:9];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement