Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // glow_draw(sprite, subimg, x, y, alpha);
- // Copyright 2012 ing. Guus Thissen aka Phantom107
- draw_set_color(c_white);
- var i, a, o;
- i = -1;
- repeat 11
- begin
- i += 1;
- a = lengthdir_x(argument4, 270+180*(i/9));
- o = (i-6)*4 + 24;
- draw_surface_ext(glow_surface, argument2+o-18, argument3, 2, 2, 0, c_white, a);
- draw_set_blend_mode(bm_subtract);
- draw_sprite_ext(argument0, argument1, argument2, argument3, image_xscale, image_yscale, 0, c_white, 1);
- draw_set_blend_mode(bm_normal);
- draw_surface_ext(glow_surface, argument2, argument3+o-18, 2, 2, 0, c_white, a);
- draw_set_blend_mode(bm_subtract);
- draw_sprite_ext(argument0, argument1, argument2, argument3, image_xscale, image_yscale, 0, c_white, 1);
- draw_set_blend_mode(bm_normal);
- end;
- draw_sprite_ext(argument0, argument1, argument2, argument3, image_xscale, image_yscale, 0, c_white, 0.5);
Add Comment
Please, Sign In to add comment