PHP Code:
//#CLIENTSIDE
function onCreated() {
with (findimg(200)) {
layer = 1;
x = player.x;
y = player.y;
emitter.delaymin = 1;
emitter.delaymax = 1;
emitter.nrofparticles = 1;
emitter.maxparticles = 1;
emitter.autorotation = true;
emitter.emitautomatically = true;
emitter.particle.lifetime = 10;
emitter.particle.image = "block.png";
emitter.particle.spin = 10;
emitter.particle.speed = 0;
emitter.emit();
}
}
I've been trying to learn something about particles, but I can't even get it to spin! :P Even with the spin variable. What could I be doing wrong? :o