1 |
part_smokesys = part_system_create() |
2 |
part_smokeEm = part_emitter_create(part_smokesys) |
3 |
part_system_depth(part_smokesys, ((-room_height) - 1000)) |
4 |
part_smoke = part_type_create() |
5 |
part_type_sprite(part_smoke, 665, 0, 1, 1) |
6 |
part_type_size(part_smoke, 0.5, 0.5, 0, 0) |
7 |
part_type_colour2(part_smoke, 8421504, 8421504) |
8 |
part_type_alpha3(part_smoke, 0.15, 0.15, 0) |
9 |
part_type_speed(part_smoke, 0.4, 0.4, -0.001, 0) |
10 |
part_type_direction(part_smoke, 45, 135, 0, 3) |
11 |
part_type_orientation(part_smoke, 0, 359, random_range(-2, 2), 0.1, 1) |
12 |
part_type_life(part_smoke, 100, 100) |
13 |
part_type_blend(part_smoke, 1) |
14 |
alarm[0] = 30 |