A
Andy Chu
Guest
Greetings Game Makers!
I have created a particle effect but it seems that it is causing brief flashes on my objects.
What can I do to fix it up?
Please and thank you!
I have created a particle effect but it seems that it is causing brief flashes on my objects.
What can I do to fix it up?
Code:
Sname=part_system_create();
particle1 = part_type_create();
part_type_shape(particle1,pt_shape_line);
part_type_size(particle1,0.10,0.10,0,0);
part_type_colour1(particle1,236);
part_type_speed(particle1,1,1,0,0);
part_type_direction(particle1,90,90,0,0);
part_type_orientation(particle1,0,0,0,0,1);
part_type_blend(particle1,1);
part_type_life(particle1,0,20);
emitter1 = part_emitter_create(Sname);
part_emitter_region(Sname,emitter1,x+16,x-16,y+16,y-16,ps_shape_ellipse,ps_distr_linear);
part_emitter_stream(Sname,emitter1,particle1,1);
Please and thank you!