Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_gravity_confetti_Step_0

(view raw script w/o annotations or w/e)
1
hh += 10;
2
xx = x + (sin(hh / 200) * (9 * abs(vspeed)));
3
timer++;
4
if (timer > timer_max)
5
{
6
    image_alpha -= 0.1;
7
    if (image_alpha <= 0)
8
        instance_destroy();
9
}