Flint Particle System Forum - improve performance Tue, 13 Dec 2011 03:39:24 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher improve performance http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1332#Comment_1332 http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1332#Comment_1332 Sat, 11 Sep 2010 05:10:54 +0100 sheisdigital I am looking for ideas on any tweaks big or small that will bring me closer to my desired frame rate (30 FPS).

A little info about the game - I am using an emitter to spit particles from 5 different zones so it actually looks like I have 5 emitters on screen. I have already played around with the imageclass to see which yields best results. I want my particle streams to be thick - so my counter is set to around 100.

The overall dimensions of my game are 930 x 500 but only 640 x 480 contain the particles (Im using a death zone to kill particles beyond that point). I'm using a collision bounding box of 640 x 480 because the particles need to bounce off eachother.

The collision box (ON or OFF) barely effects the frame rate.

Any ideas? I'm so close! ]]>
improve performance http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1335#Comment_1335 http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1335#Comment_1335 Sun, 12 Sep 2010 11:27:03 +0100 Richard
If you're using a BitmapRenderer or PixelRenderer, make sure the rectangle defining it is no bigger than you need. So in your case it would be 640 x 480 pixels. You shouldn't need both the CollisionZone and the DeathZone, since the former keeps the particles inside the space and the latter kills them if they move outside the space.

For more specific tips I would need to see your code. ]]>
improve performance http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1365#Comment_1365 http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1365#Comment_1365 Fri, 17 Sep 2010 13:53:39 +0100 sheisdigital improve performance http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1369#Comment_1369 http://flintparticles.org/forum/comments.php?DiscussionID=394&Focus=1369#Comment_1369 Tue, 21 Sep 2010 13:17:12 +0100 Richard Collide action. ]]>