global.ps = part_system_create() part_system_depth(global.ps, depth) global.pt_Filling = part_type_create() part_type_shape(global.pt_Filling, 2) part_type_size(global.pt_Filling, 0, 0, 0.2, 0) part_type_scale(global.pt_Filling, 0.9, 0.9) part_type_orientation(global.pt_Filling, 45, 45, 0, 0, 0) part_type_color3(global.pt_Filling, 0, 0, 0) part_type_alpha3(global.pt_Filling, 1, 1, 0) part_type_blend(global.pt_Filling, 0) part_type_life(global.pt_Filling, 80, 80) part_type_speed(global.pt_Filling, 0, 0, 0, 0) part_type_direction(global.pt_Filling, 0, 360, 0, 0) part_type_gravity(global.pt_Filling, 0, 0) global.pt_Border = part_type_create() part_type_shape(global.pt_Border, 2) part_type_size(global.pt_Border, 0, 0, 0.2, 0) part_type_scale(global.pt_Border, 1, 1) part_type_orientation(global.pt_Border, 45, 45, 0, 0, 0) part_type_color3(global.pt_Border, 16777215, 16777215, 16777215) part_type_alpha3(global.pt_Border, 1, 1, 0) part_type_blend(global.pt_Border, 0) part_type_life(global.pt_Border, 80, 80) part_type_speed(global.pt_Border, 0, 0, 0, 0) part_type_direction(global.pt_Border, 0, 360, 0, 0) part_type_gravity(global.pt_Border, 0, 0) var xp = 320 var yp = 110 global.pe_Border = part_emitter_create(global.ps) part_emitter_region(global.ps, global.pe_Border, (xp - 1), (xp + 1), (yp - 1), (yp + 1), 0, 0) global.pe_Filling = part_emitter_create(global.ps) part_emitter_region(global.ps, global.pe_Filling, (xp - 1), (xp + 1), (yp - 1), (yp + 1), 0, 0) particle_burst = false