1 | s = 0; |
2 | sf = 30; |
3 | sp = 20; |
4 | s2 = 0; |
5 | sf2 = 30; |
6 | image_speed = 0; |
7 | lightning_timer = 20; |
8 | shake = 0; |
9 | memx = x; |
10 | memy = y; |
11 | life = 800; |
12 | movetype = 0; |
13 | i = 0; |
14 | num = 8; |
15 | repeat (num) |
16 | { |
17 | kid[i] = instance_create(x, y, obj_bulletblocker); |
18 | greg = degtorad((i * 360) / num); |
19 | if (instance_exists(kid[i])) |
20 | { |
21 | kid[i].x = (x + (sin(greg) * sf2)) - 10; |
22 | kid[i].y = (y + (cos(greg) * sf2)) - 10; |
23 | } |
24 | i += 1; |
25 | } |