ps =part_system_create()
part_system_depth(ps,depth)
//Radius Ring
ring = part_type_create()
part_type_shape(ring,pt_shape_ring)
part_type_blend(ring,true)
part_type_size(ring,2,25,1,0)
part_type_color1(ring,c_white)
part_type_alpha2(ring,1,0)
part_type_life(ring,60,60)
//Radius Ring2
ring2 = part_type_create()
part_type_shape(ring2,pt_shape_ring)
part_type_blend(ring2,true)
part_type_size(ring2,0.2,20,0,1)
part_type_color2(ring2,c_orange,c_white)
part_type_alpha2(ring2,1,0)
part_type_life(ring2,120,120)
//Explosion
expl = part_type_create()
part_type_shape(expl,pt_shape_explosion)
part_type_blend(expl,true)
part_type_size(expl,0.2,2,1,0)
part_type_color2(expl,c_orange,c_white)
part_type_alpha2(expl,1,0)
part_type_life(expl,120,120)
//Explosion 2
expl2 = part_type_create()
part_type_shape(expl2,pt_shape_explosion)
part_type_blend(expl2,true)
part_type_size(expl2,0.2,8,0,1)
part_type_color2(expl2,c_orange,c_white)
part_type_alpha2(expl2,1,0)
part_type_life(expl2,60,120)
//Explosion 3
expl3 = part_type_create()
part_type_shape(expl3,pt_shape_explosion)
part_type_blend(expl3,true)
part_type_size(expl3,1,5,0,0)
part_type_color1(expl3,c_silver)
part_type_alpha2(expl3,1,0)
part_type_speed(expl3,8,15,0,0)
part_type_direction(expl3,0,360,0,0)
part_type_life(expl3,120,120)
//Emittent Create
em=part_emitter_create(ps)
part_emitter_region(ps,em,x,x,y,y,ps_shape_ellipse,ps_distr_gaussian)
part_emitter_burst(ps,em,ring,4)
part_emitter_burst(ps,em,ring2,3)
em2=part_emitter_create(ps)
part_emitter_region(ps,em2,x,x,y,y,ps_shape_ellipse,ps_distr_linear)
part_emitter_burst(ps,em2,expl2,10)
part_emitter_burst(ps,em2,expl,2)
part_emitter_burst(ps,em2,expl,8)
part_emitter_burst(ps,em2,expl3,100)
|