![]() | ![]() | |
| Draw a blended sprite | ||
![]() | ![]() | |
This is a general purpose script for drawing sprites using the 'add' blend mode. It is very effective for explosions and laser fire, particularly against a dark background. Note that the draw function takes all the existing attributes of the object to draw the sprite, so this script is totally generic. Try experimenting with different blend modes!
![]() | ![]() | |
draw_set_blend_mode(bm_add); draw_sprite_ext(sprite_index, image_index, x, y, image_xscale, image_yscale, image_angle, image_blend, image_alpha); draw_set_blend_mode(bm_normal); | ||
![]() | ![]() | |
|
|









Facebook
Delicious
Digg







StumbleUpon
Mixx
reddit