ParticleSystem:moveTo

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

Personal tools