Deltarune (Chapter 4) script viewer
← back to main script listing
gml_Object_obj_gravity_text_Step_0
(view raw script w/o annotations or w/e)
|
1
|
timer++;
|
|
2
|
if (timer > 5)
|
|
3
|
image_blend = c_white;
|
|
4
|
if (timer > 15)
|
|
5
|
{
|
|
6
|
gravity = 0.5;
|
|
7
|
gravity_direction = 90;
|
|
8
|
image_alpha -= 0.1;
|
|
9
|
if (image_alpha < 0)
|
|
10
|
instance_destroy();
|
|
11
|
image_yscale += 0.05;
|
|
12
|
}
|