Deltarune (Chapter 3) script viewer

← back to main script listing

gml_Object_obj_ilovetv_Step_0

(view raw script w/o annotations or w/e)
1
var _angle = (timer * (360 / duration)) + ((image_xscale < 0) ? 180 : 0);
2
x = xstart + lengthdir_x(15, _angle);
3
y = ystart + lengthdir_y(15, _angle);
4
timer++;
5
image_alpha = 2 - ((timer / duration) * 2);
6
if (timer > duration)
7
    instance_destroy();