redsheep Posted January 26, 2015 Share Posted January 26, 2015 It seems that the maxParticles not work with runtime changed.It only work when you set it by use "game.add.emitter(x,y,maxParticles)". Any idea to fix this problem? Link to comment Share on other sites More sharing options...
rich Posted January 26, 2015 Share Posted January 26, 2015 Any idea to fix this problem? Sure .. set the correct number of maxParticles that your emitter may need the first time around. Link to comment Share on other sites More sharing options...
redsheep Posted January 26, 2015 Author Share Posted January 26, 2015 Sure .. set the correct number of maxParticles that your emitter may need the first time around. OK, so it's a readonly property of emitter. If I want to change the particle number at runtime, the only way is to change the lifespan and frequency with a large maxParticles set, right? Link to comment Share on other sites More sharing options...
Recommended Posts