This example shows particle effect modifiers. Modifiers are used to alter the path of emitted particles.
Here two modifiers are added to the effect in addition to the emitter. It works as follows:
The particle system features more modifier types so make sure to check them out.
function init(self)
particlefx.play("#particles") -- <1>
end
--[[
1. Start playing the particle effect in component "particles" in this game object.
--]]