Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_berdly_wire_Draw_0

(view raw script w/o annotations or w/e)
1
sinerx = 0;
2
sinery = 0;
3
siner1 += siner_add1;
4
var sinmove_y = cos(siner1) * siner_amplitude1;
5
sinerx += lengthdir_x(sinmove_y, siner_direction1);
6
sinery += lengthdir_y(sinmove_y, siner_direction1);
7
draw_sprite_ext(sprite_index, image_index, x + sinerx, y + sinery, 2, 2, 0, c_white, 1);