Difference between revisions of "ParticleSystem:setLifetime"

(Added oldin)
 
(3 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).
 
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
 
== Function ==
 
== Function ==
Line 14: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}
 
{{#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