Particles are a very useful tool to have in a developers arsenal – they are relatively easy to create and can really impress your audience. Affects such as smoke, snow and even flocks of birds can really add glitter to projects and make them stand out from the crowd. Many of you out there probably have your own version of a particle system or regularly dust off handy code snippets to achieve the required affect.
For those who regularly use particles, there is a reusable open source engine available called Flint, which may be of interest to you. Flint is a particle engine that is able to handle many types of applications, including 2D and 3D projects. If you are familiar with Papervision3D or Away3D, you can even leverage the power of Flint in your code to create some really interesting affects.
[kml_flashembed publishmethod=”static” fversion=”10.0.0″ movie=”http://www.grindheadgames.com/demo/flint/GravityWells.swf” width=”400″ height=”400″ targetclass=”flashmovie”]
Flint is not a new engine by any means. The author, Richard Lord, showcased the engine at Flash On The Beach 2008 ( It is currently 6th June 2011) so it has obviously had time to develop. This has resulted in a really stable code base that you can rely on to get the job done when it matters.
One of the most important factors when using particles is speed. One of the main aims developers have when putting together particle engines is the speed at which they will run, and getting the best affect possible with the lowest cost the the CPU. Flint handles large numbers of particles really well, I can run demo’s with 8,000+ particles without noticeable slowdown. The engine can do this while also implementing blendmodes so you can create some really visually impressive pieces.
The architecture of Flint allows developers to easily extend the functionality and create new behaviours for particles within the system. The demo’s on the official site show of some of this functionality, which includes things such as collision detection. If you are interested in particle affects or require some cool affects for your next project, then I suggest you check out Flint – it will save you time coding an engine yourself an it is quick and easy to extend. Over the next couple days I will release a couple tutorials on using Flint. In the meantime you can have a look at some tutorials on the Flint website.