Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gh_exitsign_Draw_0

(view raw script w/o annotations or w/e)
1
if (!stop)
2
    timer += 0.18479956785822313;
3
else
4
    image_angle += speed;
5
var _x = x;
6
var _y = y;
7
_x += lengthdir_x(sin(timer) * 4, image_angle);
8
_y += lengthdir_y(sin(timer) * 4, image_angle);
9
draw_sprite_ext(sprite_index, image_index, _x, _y, image_xscale, image_yscale, image_angle, image_blend, image_alpha);