ParticleSystem:moveTo

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

doc_love
2017-03-21 15:51:46
Comments
Leave a Comment

Please login to continue.