Difference between revisions of "ParticleSystem:setQuads"

(Created page)
 
m
Line 1: Line 1:
 
{{newin|[[0.9.2]]|092|type=function}}
 
{{newin|[[0.9.2]]|092|type=function}}
Sets a series of [[Quad]]s to use for the particle sprites. Particles will choose a Quad from the list based on the particle's current lifetime, allowing the use of animated sprite sheets with ParticleSystems.
+
Sets a series of [[Quad]]s 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.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===

Revision as of 03:34, 29 August 2014

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.

Function

Synopsis

ParticleSystem:setQuads( quad1, quad2, ... )

Arguments

Quad quad1
The first Quad to use.
Quad quad2
The second Quad to use.

Returns

Nothing.

See Also

Other Languages