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]].

== コンストラクタ ==
{{#ask: [[Category:Functions (日本語)]] [[Constructs::ParticleSystem (日本語)]] [[Concept:Current]]
| headers=hide
| default=なし。
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== 関数 ==
{{#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
}}
== 列挙型 ==
{{#ask: [[Category:Enums (日本語)]] [[parent::ParticleSystem (日本語)||Drawable (日本語)||Object (日本語)]] [[Concept:Current]]
| headers=hide
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== 上位型 ==
* [[parent::Drawable (日本語)]]
* [[parent::Object (日本語)]]
== 関連 ==
* [[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
== そのほかの言語 ==
{{i18n (日本語)|ParticleSystem}}