C
Charbelim06
Guest
I have a little problem, when i shoot it appears the particles, then i shoot again and it doesn't do with the another bullet, apparently it requires to the other bullet be destroyed to appear in the next bullet
This is what i did in the creation code
And this in the step event
This is what i did in the creation code
GML:
part_system = part_system_create()
part_emitter = part_emitter_create(part_system)
part_type = part_type_create()
part_type_shape(part_type, pt_shape_square)
part_emitter_stream(part_system,part_emitter,part_type,1)
part_type_size(part_type, 0, 0.07, -0.001, 0)
part_type_alpha3(part_type, 0, 1, 0); part_type_color3(part_type, c_red, c_yellow, c_white)
GML:
part_emitter_region(part_system, part_emitter, bullet_test.x-1, bullet_test.x+1, bullet_test.y-1, bullet_test.y+1, ps_shape_rectangle, ps_distr_linear)
part_emitter_burst(part_system, part_emitter, part_type, 2)