| 1 |
move_towards_point(obj_heart.x + 8, obj_heart.y + 8, 9); |
| 2 |
for (i = 0; i < 5; i += 1) |
| 3 |
{ |
| 4 |
gl = instance_create(x, y, obj_glydeshot); |
| 5 |
if (instance_exists(gl)) |
| 6 |
gl.direction = (direction - 28) + (i * 14); |
| 7 |
} |
| 8 |
for (i = 0; i < 5; i += 1) |
| 9 |
{ |
| 10 |
gl = instance_create(x, y, obj_glydeshot); |
| 11 |
if (instance_exists(gl)) |
| 12 |
{ |
| 13 |
gl.direction = (direction - 28) + (i * 14); |
| 14 |
gl.speed -= 1.5; |
| 15 |
} |
| 16 |
} |
| 17 |
for (i = 0; i < 5; i += 1) |
| 18 |
{ |
| 19 |
gl = instance_create(x, y, obj_glydeshot); |
| 20 |
if (instance_exists(gl)) |
| 21 |
{ |
| 22 |
gl.direction = (direction - 28) + (i * 14); |
| 23 |
gl.speed -= 3; |
| 24 |
} |
| 25 |
} |
| 26 |
with (obj_glydeshot) |
| 27 |
friction = 0; |