Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_shield_just_particle_Step_0

(view raw script w/o annotations or w/e)
1
x += lengthdir_x(spd, direction);
2
y += lengthdir_y(spd, direction);
3
spd *= 0.85;
4
image_xscale *= 0.85;
5
image_yscale *= 0.85;
6
if ((image_xscale + image_yscale) < 0.16)
7
    instance_destroy();
8
image_angle += 45;
9
image_alpha += 0.2;