Difference between revisions of "ParticleSystem:moveTo"

m (Created page)
 
m (forgot newin)
 
Line 1: Line 1:
 +
{{newin|[[0.9.1]]|091|type=function}}
 
Moves the position of the emitter. This results in smoother particle spawning behaviour than if [[ParticleSystem:setPosition]] is used every frame.
 
Moves the position of the emitter. This results in smoother particle spawning behaviour than if [[ParticleSystem:setPosition]] is used every frame.
 
== Function ==
 
== Function ==
Line 14: Line 15:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Moves the position of the emitter.}}
 
{{#set:Description=Moves the position of the emitter.}}
{{#set:Since=000}}
 
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:moveTo}}
 
{{i18n|ParticleSystem:moveTo}}

Latest revision as of 22:30, 5 February 2014

Available since LÖVE 0.9.1
This function is not supported in earlier versions.

Moves the position of the emitter. This results in smoother particle spawning behaviour than if ParticleSystem:setPosition is used every frame.

Function

Synopsis

ParticleSystem:moveTo( x, y )

Arguments

number x
Position along x-axis.
number y
Position along y-axis.

Returns

Nothing.

See Also

Other Languages