Difference between revisions of "ParticleSystem:setSize"

m
 
Line 1: Line 1:
 +
{{oldin|[[0.8.0]]|080|type=function|text=It has been replaced with [[ParticleSystem:setSizes]]}}
 
Sets the size of the particle (1.0 being normal size).
 
Sets the size of the particle (1.0 being normal size).
 
The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only.
 
The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only.

Latest revision as of 11:11, 7 February 2012

Removed in LÖVE 0.8.0
It has been replaced with ParticleSystem:setSizes.

Sets the size of the particle (1.0 being normal size). The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only.

Function

Synopsis

ParticleSystem:setSize( min, max, variation )

Arguments

number min
The minimum size (1.0 being normal size).
number max (min)
The maximum size (1.0 being normal size).
number variation (1)
The degree of variation (0 meaning no variation and 1 meaning full variation between start and end).

Returns

Nothing.

See Also


Other Languages