particlefx.script
function init(self) particlefx.play("#particles") -- <1> end --[[ 1. Start playing the particle effect in component "particles" in this game object. --]]
This example was created by Defold Foundation.
Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.