Alpha Scratch

An example behaviour for 'painting' into the alpha channel of a bitmap. In this example, the behaviour is applied to sprite 2. As you click and 'scratch' away at this sprite, the bottom sprite (a picture of Eliza modelling the latest in PAL9000 street wear) is revealed.

The 'brush' that paints into the alpha of the target image has an alpha channel. This means we can apply colour to the alpha channel with 'transparency' effects. The brush is also continuously rotating its quad, for added shtick!

Source file

Last updated 29th June, 2005

Add Your Comment






[Preview]


Verification image

Note - paragraph formatting and links (h-refs) are handled automatically. Most HTML is removed (though some like <em><strong> are allowed). Email addresses are never displayed.

Pithy and yet enlightening comments most welcome. Spammy or unreasonably obnoxious comments zapped without apology


© 2006 MeccaMedialight. Site Powered by Wrangler 8.