Difference between revisions of "Particle Engine"
(Created page with "A particle engine is a collection of small sprites that each move independently based on the properties assigned by the overall engine to which the particles belong. The prope...") |
|||
Line 4: | Line 4: | ||
== See Also == | == See Also == | ||
− | [http://slick.ninjacave.com/javadoc/org/newdawn/slick/tests/ParticleTest.html ParticleTest] on the Slick Javadoc | + | * [http://slick.ninjacave.com/javadoc/org/newdawn/slick/tests/ParticleTest.html ParticleTest] on the Slick Javadoc |
Revision as of 14:30, 8 August 2013
A particle engine is a collection of small sprites that each move independently based on the properties assigned by the overall engine to which the particles belong. The properties of the particle control have they move, grow and change in appearance. They also describe the state the particle are initialized in. These values are often based on pseduo-random numbers which leads to effects that tend to look more organic and unique than with canned animations.
Slick provides a simple particle engine designed to produce 2D organic effects. The ParticleSystem class provides the central repository for all particles. This system is a collection of particles and ParticleEmitter implementations which are responsible for causing the production and change of particles during their life time.
See Also
- ParticleTest on the Slick Javadoc