cocos2d / cocos2d-x

Cocos2d-x is a suite of open-source, cross-platform, game-development tools utilized by millions of developers across the globe. Its core has evolved to serve as the foundation for Cocos Creator 1.x & 2.x.
https://www.cocos.com/en/cocos2d-x
18.26k stars 7.06k forks source link

new ParticleSystemQuad crash #15432

Open robslove opened 8 years ago

robslove commented 8 years ago

ParticleSystemQuad * one = ParticleSystemQuad::create("particle.plist"); one->setAnchorPoint(Vec2::ANCHOR_TOP_LEFT); one->setPosition(visibleSize.width/2, visibleSize.height/2); this->addChild(one);

ParticleSystemQuad * two = ParticleSystemQuad::create("debian.plist"); two->setAnchorPoint(Point::ZERO); two->setPosition(visibleSize.width/2, visibleSize.height/2); this->addChild(two);

crash if run two particle at the same time, only one particle is ok

if replace "particle.plist" with other plist file, run two particle at the same time is ok

you can get the particle.plist at http://www.cocoachina.com/bbs/read.php?tid=1679050

minggo commented 8 years ago

It looks related to #15439. Could you please try the resolution mentioned there?