Deltarune (Chapter 2) script viewer

← back to main script listing

gml_Object_obj_mansion_glow_parent_Draw_0

(view raw script w/o annotations or w/e)
1
glow_alpha++;
2
fade += 0.075;
3
draw_sprite_ext(sprite_index, 0, x, y, image_xscale, image_yscale, 0, c_white, 1);
4
gpu_set_blendmode(bm_add);
5
draw_sprite_ext(sprite_index, 1, x, y, image_xscale, image_yscale, 0, c_white, sin((((1 * fade) + 3) * pi) / 2) + 1);
6
gpu_set_blendmode(bm_normal);