1 |
if live_call() |
2 |
return global.live_result; |
3 |
draw_set_circle_precision(48) |
4 |
if (!surface_exists(surf)) |
5 |
surf = surface_create(640, 480) |
6 |
surface_set_target(surf) |
7 |
draw_clear_alpha(c_black, 0) |
8 |
draw_set_alpha(image_alpha) |
9 |
draw_set_color(make_color_rgb(255, 255, 255)) |
10 |
draw_circle((x - 0.5), (y - 0.5), (26 * image_yscale), false) |
11 |
draw_set_alpha(1) |
12 |
gpu_set_blendmode(bm_subtract) |
13 |
draw_circle_color((x - 0.5), (y - 0.5), (25 * image_yscale), c_white, c_white, false) |
14 |
gpu_set_blendmode(bm_normal) |
15 |
surface_reset_target() |
16 |
draw_set_circle_precision(24) |
17 |
draw_surface(surf, 0, 0) |