Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_rouxls_splasheffect_Draw_0

(view raw script w/o annotations or w/e)
1
siner++;
2
var _duration = 2.5 * yscale;
3
if (sin(siner / _duration) < 0)
4
    instance_destroy();
5
draw_sprite_ext(sprite_index, image_index, x, y, ((siner / _duration) + 0.75) * xscale, sin(siner / _duration) * yscale, 0, c_white, 1);