1 |
part_sys_energy = part_system_create() |
2 |
part_system_depth(part_sys_energy, -999) |
3 |
part_em_energy = part_emitter_create(part_sys_energy) |
4 |
part_type_energy = part_type_create() |
5 |
part_type_flash = part_type_create() |
6 |
part_type_ring = part_type_create() |
7 |
part_type_shape(part_type_flash, 2) |
8 |
part_type_alpha2(part_type_flash, 1, 0) |
9 |
part_type_color1(part_type_flash, 16777215) |
10 |
part_type_orientation(part_type_flash, 45, 45, 0.2, 0, 0) |
11 |
part_type_size(part_type_flash, 0.7, 0.7, -0.15, 0) |
12 |
part_type_life(part_type_flash, 30, 30) |
13 |
part_type_shape(part_type_energy, 0) |
14 |
part_type_alpha3(part_type_energy, 1, 1, 0) |
15 |
part_type_color1(part_type_energy, 16777215) |
16 |
part_type_direction(part_type_energy, 0, 359, 0, 0) |
17 |
part_type_speed(part_type_energy, 5, 7, 0, 0) |
18 |
part_type_size(part_type_energy, 3, 3, 0, 0) |
19 |
part_type_life(part_type_energy, 7, 7) |
20 |
part_type_shape(part_type_ring, 5) |
21 |
part_type_alpha3(part_type_ring, 1, 1, 0) |
22 |
part_type_color1(part_type_ring, 16777215) |
23 |
part_type_size(part_type_ring, 0, 0, 0.1, 0) |
24 |
part_type_life(part_type_ring, 10, 10) |
25 |
part_emitter_region(part_sys_energy, part_em_energy, x, x, y, y, 0, 1) |
26 |
part_emitter_burst(part_sys_energy, part_em_energy, part_type_energy, 28) |
27 |
part_emitter_burst(part_sys_energy, part_em_energy, part_type_flash, 1) |
28 |
part_emitter_burst(part_sys_energy, part_em_energy, part_type_ring, 1) |