1 | hdno = 0; |
2 | oncheck = 0; |
3 | parent = 1576; |
4 | while (instance_position(parent.x + 10, parent.y - (hdno * 4), obj_hotdog)) |
5 | hdno += 1; |
6 | hd = instance_create(parent.x + 10, parent.y - (hdno * 4), obj_hotdog); |
7 | hd.parent = 1576; |
8 | hd.friction = 1 - (hdno * 0.1); |
9 | hd.relative = hdno * 4; |
10 | if (negf == 0) |
11 | { |
12 | if (hd.friction < 0.1) |
13 | hd.friction = 0.1; |
14 | } |