- Select manual -

Particle effect

This example shows a simple particle effect. The particlefx component has all the values at default, except the image and animation used.

particlefx particlefx.script

function init(self)
    particlefx.play("#particles") 
end
  1. Start playing the particle effect in component “particles” in this game object.

If you want to play with these examples, you can get the project on Github.

Do you want to see more examples? Why not write a few yourself and submit a pull request? We love contributions.

Contribute