title: Particle system not getting visible for first time in cocos2d-x
body: <p>I am working in cocos2d-x for last two weeks.I have made one game in cocos2d-iphone. Now i am trying to make the same that from <strong>android devices using cocos2d-x</strong>. I am using particle system when player will collect the stars. <strong><em>When player is collecting a star for the first time, the particle system is not getting display</em></strong>. After that <em>for every star collection it gets visible</em>. I have check that it is executing the function which is used for displaying particle system. </p>
  
  <p>Code for adding particle system is:</p>
  
  <pre><code>CCParticleSystemQuad *system = CCParticleSystemQuad::create("stars.plist");
                              system-&gt;setTexture(CCTextureCache::sharedTextureCache()-&gt;addImage("stern.png"));
                              system-&gt;setPosition(starSprite-&gt;getPosition().x, starSprite-&gt;getPosition().y);
  system-&gt;setLife(2);
  system-&gt;setLifeVar(2);
  system-&gt;setAutoRemoveOnFinish(true);
  this-&gt;addChild(system,2);
  </code></pre>
  
  <p>Does anyone tell me why this is happening?</p>