Deltarune (Chapter 4) script viewer

← back to main script listing

gml_Object_obj_radialdistort_Step_0

(view raw script w/o annotations or w/e)
1
time_percent = lerp(0, 1, (get_timer() - time_started) / 1000000 / duration);
2
if (time_percent > 0.5)
3
    alpha -= 0.03;
4
ring_update(lerp_ease_out(0, 1, time_percent, 2));
5
if (time_percent >= 1)
6
    instance_destroy();