Class cc.ParticleSmoke

Class Summary
Constructor Attributes Constructor Name and Description
 
A smoke particle system

Method Summary

Class Detail

cc.ParticleSmoke()
A smoke particle system
var emitter = cc.ParticleSmoke.create();

Method Detail

  • <static> {cc.ParticleSmoke} cc.ParticleSmoke.create()
    Create a smoke particle system
    var emitter = cc.ParticleFireworks.create();
    Returns:
    {cc.ParticleSmoke}
  • {Boolean} init()
    initialize a smoke particle system
    Returns:
    {Boolean}
  • {Boolean} initWithTotalParticles(numberOfParticles)
    initialize a smoke particle system with number Of Particles
    Parameters:
    {Number} numberOfParticles
    Returns:
    {Boolean}