Posted By: Reconnoiter
[SOLVED] particle is not removed ? - 05/17/17 13:58
Hi,
I am not sure why but for some reason particles are not removed after time (/lifespan does not do anything), here is the code:
I am not sure why but for some reason particles are not removed after time (/lifespan does not do anything), here is the code:
Code:
function spawnParticle (PARTICLE* p) { p.bmap = ui_cursor; //just testing p.size = 3; p.alpha = 100; p.lifespan = 2; vec_set(p.blue, vector(255, 255, 255)); set(p, MOVE | TRANSLUCENT); //BRIGHT | } ... effect(spawnParticle, 1, ent.x, vector(0,0,20));