Difference between revisions of "ParticleSystem:setQuads"
m (bug notes) |
|||
(One intermediate revision by one other user not shown) | |||
Line 20: | Line 20: | ||
=== Returns === | === Returns === | ||
Nothing. | Nothing. | ||
+ | == Notes == | ||
+ | Prior to [[11.4]], the particle system offset will be incorrect after this call. Call [[ParticleSystem:setOffset]] appropriately to workaround this issue. | ||
== See Also == | == See Also == | ||
* [[parent::ParticleSystem]] | * [[parent::ParticleSystem]] | ||
+ | * [[ParticleSystem:getQuads]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Sets a series of [[Quad]]s to use for the particle sprites.}} | {{#set:Description=Sets a series of [[Quad]]s to use for the particle sprites.}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|ParticleSystem:setQuads}} | {{i18n|ParticleSystem:setQuads}} |
Latest revision as of 03:07, 11 March 2022
Available since LÖVE 0.9.2 |
This function is not supported in earlier versions. |
Sets a series of Quads to use for the particle sprites. Particles will choose a Quad from the list based on the particle's current lifetime, allowing for the use of animated sprite sheets with ParticleSystems.
Contents
Function
Synopsis
ParticleSystem:setQuads( quad1, quad2, ... )
Arguments
Returns
Nothing.
Function
Synopsis
ParticleSystem:setQuads( quads )
Arguments
table quads
- A table containing the Quads to use.
Returns
Nothing.
Notes
Prior to 11.4, the particle system offset will be incorrect after this call. Call ParticleSystem:setOffset appropriately to workaround this issue.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info