touhou-pride-jam-2021/thpj3/objects/obj_darkfade/Draw_0.gml

8 lines
362 B
Plaintext
Raw Permalink Normal View History

2021-06-11 04:39:22 -07:00
draw_set_color( make_color_rgb( color_current, color_current, color_current ) );
if ( obj_wriggle.emergency) {
draw_set_color( make_color_rgb( 0, color_current, color_current ) );
}
gpu_set_blendmode( bm_subtract );
draw_rectangle(-1, -1, window_get_width() + 1, window_get_height() + 1, false);
gpu_set_blendmode( bm_normal );
draw_set_color( c_white );