SpriteControl - Generated Sprites Alpha issue

Blitz3D Forums/Blitz3D Programming/SpriteControl - Generated Sprites Alpha issue

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Do you have a screenshot of what's happening?

You might want to look at these functions in the code archives. The first one i wrote and it will mask/alpha off the colour you pass across. So, if you draw your sprite and mask off the rest of the image with a colour such as RGB (255,0,255), then call my function, passing across the mask colour, it will add in the alpha information, making the mask colour invisible. It will leave the rest of the image untouched.

http://www.blitzbasic.com/codearcs/codearcs.php?code=1013

This function by skidracer, basically smoothes the edges of the mask area, so the mask colour doesn't bleed through.

http://www.blitzbasic.com/codearcs/codearcs.php?code=1131