1 |
part_snowfallsys = part_system_create() |
2 |
part_snowfallEm = part_emitter_create(part_snowfallsys) |
3 |
part_system_depth(part_snowfallsys, -9999) |
4 |
part_snowfall = part_type_create() |
5 |
part_type_sprite(part_snowfall, 636, 0, 0, 1) |
6 |
part_type_size(part_snowfall, 1, 1, 0, 0) |
7 |
part_type_colour2(part_snowfall, 16777215, 16777215) |
8 |
part_type_alpha3(part_snowfall, 0.25, 0.95, 0) |
9 |
part_type_speed(part_snowfall, 0.3, 1.2, 0, 0) |
10 |
part_type_direction(part_snowfall, 250, 290, 0, 0) |
11 |
part_type_orientation(part_snowfall, 0, 359, random_range(-2, 2), 0.1, 1) |
12 |
part_type_life(part_snowfall, 250, 2000) |
13 |
part_type_blend(part_snowfall, 1) |
14 |
part_startsys = part_system_create() |
15 |
part_startEm = part_emitter_create(part_startsys) |
16 |
part_system_depth(part_startsys, -9999) |
17 |
part_emitter_region(part_startsys, part_startEm, 0, room_width, -200, room_height, 0, 0) |
18 |
part_emitter_burst(part_startsys, part_startEm, part_snowfall, (room_width / 8)) |
19 |
part_emitter_region(part_snowfallsys, part_snowfallEm, 0, room_width, 0, __view_get((1 << 0), 0), 3, 0) |
20 |
part_emitter_stream(part_snowfallsys, part_snowfallEm, part_snowfall, -8) |