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.25, 0.25, 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] = 75alarm[0]particle_emit = true
audio_play_sound(snd_puzzle_icemelt, 1, 0)
alarm[1] = 45 |
15 |
particle_emit = false |