Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_sprite_part_parallax_example_Draw_0

(view raw script w/o annotations or w/e)
1
image_xscale = 2;
2
image_yscale = 2;
3
siner++;
4
draw_set_color(c_yellow);
5
draw_rectangle(x, y, x + 80, y + 80, false);
6
if (dontdraw == false)
7
    draw_sprite_part_parallax_scale(sprite_index, siner / 8, siner / 8, siner / 8, 0.3, 3);
8
if (dontdraw == false)
9
    draw_sprite_part_parallax(sprite_index, siner / 8, siner / 3, siner / 6, 1);