Deltarune (Chapter 1) script viewer

← back to main script listing

gml_Object_obj_dustball_Step_0

(view raw script w/o annotations or w/e)
1
timer += 1;
2
image_index = 1 + ((timer * 1.5) / 55);
3
if (timer >= 55)
4
    instance_destroy();
5
x += (sin(timer / 5) * 0.4);
6
y += cos(timer / 3.5);
7
x += 1.6;
8
y -= 0.8;