Flint Particle System Forum - particles dead how can I delete them ? Sat, 26 May 2012 06:19:10 +0100 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher particles dead how can I delete them ? http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1777#Comment_1777 http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1777#Comment_1777 Mon, 07 Nov 2011 17:31:37 +0000 lisztomania I post a previous message but now it's ok.
But my program got too many lags :/ I create a deathzone on all my scene (so all particles are dead but still laggy...)
So my question is quite simple : How can I delete a particle when its variable isDead is true ?
Because I have 400 particles per ghost and I've max 4 ghost at the same time on my stage and it's very slow...

Maybe it's cause by the Blurfilter : GetRenderer().addFilter(new BlurFilter(2, 2, 1)); but I think it's not only that or not that.

If you can help me :D

Good night ! ]]>
particles dead how can I delete them ? http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1779#Comment_1779 http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1779#Comment_1779 Tue, 08 Nov 2011 08:09:11 +0000 Richard particles dead how can I delete them ? http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1781#Comment_1781 http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1781#Comment_1781 Tue, 08 Nov 2011 16:18:55 +0000 lisztomania
So I think it's the blurfilter function which is the problem :/ I need this effect but I don't know how to optimize it é_è ]]>
particles dead how can I delete them ? http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1787#Comment_1787 http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1787#Comment_1787 Tue, 15 Nov 2011 07:21:47 +0000 Richard particles dead how can I delete them ? http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1791#Comment_1791 http://flintparticles.org/forum/comments.php?DiscussionID=534&Focus=1791#Comment_1791 Thu, 24 Nov 2011 03:17:38 +0000 haoyutang My solution is: (I did below steps before each start())
1. call killAllParticles() for each emitter.
2. remove the emitters from the renderer.
Hope it helps :) ]]>