SimpleParticle.init - HermesPasser/Ramu GitHub Wiki

SimpleParticle.init()

Description

Starts the particle animation.

You can test this snippet of code here.

let img = Ramu.Utils.getImage("https://github.com/HermesPasser/Ramu/blob/master/demos/img/particleblue.png?raw=true");
let particle = new SimpleParticle(img, new Rect(250, 250, 5, 6), 100, 200);

particle.init();