1 | function scr_dark_marker_animated |
2 | { |
3 | var x_pos = argument[0]; |
4 | var y_pos = argument[1]; |
5 | var sprite = argument[2]; |
6 | var anim_speed = (argument_count > 3) ? argument[3] : 0.2; |
7 | thismarker = instance_create(x_pos, y_pos, obj_marker); |
8 | with (thismarker) |
9 | { |
10 | sprite_index = sprite; |
11 | image_speed = anim_speed; |
12 | image_xscale = 2; |
13 | image_yscale = 2; |
14 | scr_depth(); |
15 | } |
16 | return thismarker; |
17 | } |