Difference between revisions of "ParticleSystem:setLifetime"

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:setEmitterLifetime]]}}
 
+
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}
 +
{{#set:Since=000}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:setLifetime}}

Latest revision as of 04:09, 20 July 2013

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

Sets how long the particle system should emit particles (if -1 then it emits particles forever).

Function

Synopsis

ParticleSystem:setLifetime( life )

Arguments

number life
The lifetime of the emitter (in seconds).

Returns

Nothing.

See Also


Other Languages