1 | if (instance_exists(spawner)) |
2 | { |
3 | x = spawner.x + lengthdir_x(move_dist, direction); |
4 | y = spawner.y + lengthdir_y(move_dist, direction); |
5 | } |
6 | direction += spin_spd; |
7 | move_dist += move_spd; |
8 | if (fade_out == true) |
9 | { |
10 | image_alpha -= 0.25; |
11 | if (image_alpha <= 0) |
12 | instance_destroy(); |
13 | } |