Fangames > Programming Questions

Edit sprites with glow

<< < (2/2)

Junior Nintendista:

--- Quote from: klazen108 on August 06, 2015, 08:50:49 AM ---I use a plugin for Paint.net called 'Alpha Mask' - this works great if the background is a solid black/white like that:

You just need to select the entire image, then copy it, and then choose the 'paste from clipboard' option in the plugin.

ALTERNATIVELY you could use an additive blend mode while drawing that sprite, that's probably what was intended - in additive blend mode, sprite colors are added to what's already on the screen, and since black is (0,0,0) the background colors are not changed. The bright parts also look "shinier", for this reason additive blend mode is often used for special effects like fire, sparks, magic, etc.

--- Code: ---draw_set_blend_mode(bm_add);
draw_self();
draw_set_blend_mode(bm_normal);
--- End code ---
(click to show/hide)

Get the Alpha Mask plugin here
Get Paint.NET here
How to install plugins in Paint.NET

--- End quote ---
Thanks

Navigation

[0] Message Index

[*] Previous page

Go to full version