1 |
make_effect_timer++; |
2 |
if (make_effect_timer >= 10) |
3 |
{ |
4 |
for (i = 0; i < 10; i++) |
5 |
{ |
6 |
if (actor_visible[i][step_current] == 1) |
7 |
{ |
8 |
if (actor_startx[i][step_current] != actor_endx[i][step_current] || actor_starty[i][step_current] != actor_endy[i][step_current]) |
9 |
{ |
10 |
fake_actor = instance_create(actor_startx[i][step_current], actor_starty[i][step_current], obj_actor); |
11 |
fake_actor.image_alpha = 0.5; |
12 |
fake_actor.sprite_index = actor_endsprite[i][step_current]; |
13 |
fake_actor.debug_killtimer = actor_time[i][step_current] + 10; |
14 |
mover = instance_create(0, 0, obj_move_to_point); |
15 |
mover.target = fake_actor; |
16 |
mover.movex = actor_endx[i][step_current]; |
17 |
mover.movey = actor_endy[i][step_current]; |
18 |
mover.movemax = actor_time[i][step_current]; |
19 |
} |
20 |
} |
21 |
} |
22 |
make_effect_timer = 0; |
23 |
} |
24 |
for (i = 0; i < 10; i++) |
25 |
{ |
26 |
if (actor_visible[i][step_current] == 1) |
27 |
{ |
28 |
_asx = actor_startx[i][step_current]; |
29 |
_asy = actor_starty[i][step_current]; |
30 |
_aex = actor_endx[i][step_current]; |
31 |
_aey = actor_endy[i][step_current]; |
32 |
draw_sprite_ext(actor_endsprite[i][step_current], 0, actor_startx[i][step_current], actor_starty[i][step_current], 1 + global.darkzone, 1 + global.darkzone, 0, c_white, 1); |
33 |
draw_sprite_ext(actor_endsprite[i][step_current], 0, hover_x, hover_y, 1 + global.darkzone, 1 + global.darkzone, 0, c_white, 1); |
34 |
draw_sprite(spr_pie, 0, mouse_x, mouse_y); |
35 |
draw_set_color(c_yellow); |
36 |
draw_line(actor_startx[i][step_current], actor_starty[i][step_current], actor_endx[i][step_current], actor_endy[i][step_current]); |
37 |
draw_set_color(c_fuchsia); |
38 |
draw_ellipse(_asx - 10, _asy - 5, _asx + 10, _asy + 5, false); |
39 |
draw_set_color(c_aqua); |
40 |
draw_ellipse(_aex - 10, _aey - 5, _aex + 10, _aey + 5, false); |
41 |
} |
42 |
} |
43 |
for (j = 0; j <= step_max; j++) |
44 |
{ |
45 |
for (i = 0; i < 10; i++) |
46 |
{ |
47 |
if (actor_visible[i][j] == 1) |
48 |
{ |
49 |
draw_sprite_ext(actor_endsprite[i][j], 0, actor_startx[i][j], actor_starty[i][j], 1 + global.darkzone, 1 + global.darkzone, 0, c_fuchsia, 0.5); |
50 |
draw_set_color(c_red); |
51 |
scr_84_set_draw_font("main"); |
52 |
draw_text(actor_endx[i][j], actor_endy[i][j], string_hash_to_newline(stringsetsubloc("actor, ~1 step:~2", string(i), string(j), "obj_cutscene_maker_slash_Draw_0_gml_60_0"))); |
53 |
} |
54 |
} |
55 |
} |