Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_fadechain_Step_0

(view raw script w/o annotations or w/e)
1
timer += 1;
2
if (timer >= 30)
3
{
4
    active = 0;
5
    image_alpha -= 0.1;
6
    if (image_alpha <= 0)
7
        instance_destroy();
8
    hspeed += lengthdir_x(0.2, bdir);
9
    vspeed += lengthdir_y(0.2, bdir);
10
}