M
Mr.LuGr
Guest
Hello I need help with my code because I tried everything what can I do with my skills and I don't know how to fix it...
here is problem: https://imgur.com/a/P4iHi6c
Just when particles (object/instance) exist and also created new one, exist particles is replaced by new one.
Thanks for any reply.
here is problem: https://imgur.com/a/P4iHi6c
Just when particles (object/instance) exist and also created new one, exist particles is replaced by new one.
I tried any combination with "with" statement and nothing worked.Code:
DRAW (o_particle):
draw_sprite_part(sprite_index,0,spriteA,spriteA,spriteB,spriteB,x,y);
Destroy(Block):
var i=random(5);
for (i=0;i<20;i+=1)
{
instance_create(x,y,o_particles);
o_particles.sprite_index=sprite_index;
}
Thanks for any reply.