Difference between revisions of "ParticleSystem:setLifetime"

(Added oldin)
 
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 ==

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