Difference between revisions of "ParticleSystem:setSizes"

m
m
 
Line 6: Line 6:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
ParticleSystem:setSizes( size1, size1, ..., size8 )
+
ParticleSystem:setSizes( size1, size2, ..., size8 )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Latest revision as of 18:18, 2 February 2014

Available since LÖVE 0.8.0
It has replaced ParticleSystem:setSize.

Sets a series of sizes by which to scale a particle sprite. 1.0 is normal size. The particle system will interpolate between each size evenly over the particle's lifetime.

At least one size must be specified. A maximum of eight may be used.

Function

Synopsis

ParticleSystem:setSizes( size1, size2, ..., size8 )

Arguments

number size1
The first size.
number size2
The second size.
number size8
The eighth size.

Returns

Nothing.

See Also

Other Languages