A ParticleSystem can be used to create particle effects like fire or smoke.

The particle system has to be created using [[love.graphics.newParticleSystem]]. Just like any other [[Drawable]] it can be drawn to the screen using [[love.graphics.draw]]. You also have to [[ParticleSystem:update|update]] it in the [[love.update|update callback]] to see any changes in the particles emitted.

The particle system won't create any particles unless you call [[ParticleSystem:setParticleLifetime|setParticleLifetime]] and [[ParticleSystem:setEmissionRate|setEmissionRate]].

== Constructors ==
{{#ask: [[Category:Functions]] [[Constructs::ParticleSystem]] [[Concept:Current]]
| headers=hide
| default=None.
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== Functions ==
{{#ask: [[Category:Functions]] [[parent::ParticleSystem||Drawable||Object]] [[Concept:Current]]
| headers=hide
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| limit=2000
| ?Description
| ?PrettySince
| ?PrettyRemoved
| ?PrettyDeprecated
}}
== Enums ==
{{#ask: [[Category:Enums]] [[parent::ParticleSystem||Drawable||Object]] [[Concept:Current]]
| headers=hide
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== Supertypes ==
* [[parent::Drawable]]
* [[parent::Object]]
== See Also ==
* [[parent::love.graphics]]
[[Category:Types]]
{{#set:Description=Used to create cool effects, like fire.}}
{{#set:Since=000}}
Particle editors:
* https://love2d.org/forums/viewtopic.php?f=4&t=2110
* https://love2d.org/forums/viewtopic.php?f=5&t=32954
* https://love2d.org/forums/viewtopic.php?f=5&t=76986
== Other Languages ==
{{i18n|ParticleSystem}}