Difference between revisions of "ParticleSystem:setParticleLife"

m (1 revision: Imported docs from potato.)
(Added oldin)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
+
{{oldin|[[0.9.0]]|090|type=function|text=It has been renamed to [[ParticleSystem:setParticleLifetime]]}}
 
+
Sets the life of the particles.
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 14: Line 14:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets the life of the particles.}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:setParticleLife}}

Latest revision as of 04:12, 20 July 2013

Removed in LÖVE 0.9.0
It has been renamed to ParticleSystem:setParticleLifetime.

Sets the life of the particles.

Function

Synopsis

ParticleSystem:setParticleLife( min, max )

Arguments

number min
The minimum life of the particles (seconds).
number max (min)
The maximum life of the particles (seconds).

Returns

Nothing.

See Also


Other Languages