Difference between revisions of "ParticleSystem:setSize"

m (1 revision: Imported docs from potato.)
m
 
(4 intermediate revisions by 3 users not shown)
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).
 +
The particles will grow/shrink from the starting size to the ending size. The variation affects starting size only.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 15: Line 16:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the size of the particle (1.0 being normal size).}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:setSize}}

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