Difference between revisions of "ParticleSystem:setSizes"

(New function for 0.8.0)
 
m (Reworded description)
Line 1: Line 1:
 
{{newin|[[0.8.0]]|080|type=function}}
 
{{newin|[[0.8.0]]|080|type=function}}
Scales the size of each particle over its lifetime. 1.0 is normal size. The size is interpolated between points.
+
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.
 
At least one size must be specified. A maximum of eight may be used.

Revision as of 07:59, 6 February 2012

Available since LÖVE 0.8.0
This function is not supported in earlier versions.

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, size1, ..., size8 )

Arguments

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

Returns

Nothing.

See Also


Other Languages