Gládio Cítrico

Ramu 0.7b doc

doc homeRamu

SimpleParticle.setDrawPriority()

Description

Get a rect with the GameObj position and size.

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.setDrawPriority(3);