创建粒子后添加到背景没有反映是怎么回事啊。纹理已经加载到了,但是显示不出来

ParticleSystemQuad* juiceParticle = ParticleSystemQuad::createWithTotalParticles(358);
juiceParticle->setTexture(Director::getInstance()->getTextureCache()->getTextureForKey(name));
juiceParticle->setDuration(0.05f);
juiceParticle->setTotalParticles(358);
juiceParticle->setStartSize(39.0f);
juiceParticle->setStartSizeVar(10.0f);
juiceParticle->setEndSize(0);
juiceParticle->setAngle(90.0f);
juiceParticle->setAngleVar(100.0f);
juiceParticle->setSpeed(150.0f);
juiceParticle->setSpeedVar(80.0f);
juiceParticle->setGravity(Vec2(0,-330.0f));
juiceParticle->setPosition(fruit->getPosition().x , fruit->getPosition().y + 30);
juiceParticle->setAngle(angle);
juiceParticle->setEmissionRate(juiceParticle->getTotalParticles()/juiceParticle->getLife());  
juiceParticle->setAutoRemoveOnFinish(true);
m_bg->addChild(juiceParticle, FRUIT_ORDER);

创建粒子后添加到背景没有反映是怎么回事啊。纹理已经加载到了,但是显示不出来

juiceParticle->setDuration(0.05f); 括号里面值改为-1试试…或者是其他大点的看看,0.05太小了吧,说不定刚出来就没了。