Improve your game with particles12 Feb 2010
When I play a game, I like to see all those flying particles popping up on the screen. Casual games make heavy use of this resource, sometimes more than what is considered healthy.
A particle system adds dynamism to the game and makes it feel alive. Where is the fun of blowing up an enemy base and see just a few flames as a reward? Players want to see lots of things flying around and sparkles shinning towards the camera. Flash gamers are no exception. In order to add particles to your game, you can use two free particle systems (both use MIT license): Flint and Stardust.
Flint is an open-source project to create a versatile particle system in Actionscript 3. The aim is to create a system that handles the common functionality for all particle systems, has methods for common particle behaviour, and lets developers extend it easily with their own custom behaviours without needing to touch the core code.
- Supports 2D and 3D particle effects.
- Easy to extend for custom initializers, actions, fields, deflectors, clocks, and 2D/3D renderers.
- Includes 3D extensions for ZedBox, Papervision3D, and ND3D.
- Includes a native 3D renderer.
- Supports particle masking (particles can be masked out for actions).
- Uses linked lists and object pools to improve performance.
- Gravity and deflector simulation.
- Action triggers (for creating complex conditional particle behaviors).
- XML serialization.