Description
Testing the palette swapping abilities of Flash using BitmapData.paletteMap().
In the first scene, pressing space will invert the colors of the second actor.
In the second scene, pressing 1, 2, or 3 will toggle the values of the Red, Green, and Blue channels of the actor between 0 and their original values.
In either scene, pressing Enter will take you to the other.
2 Comments
niccosw
Thats a lot of fun! I'm always looking for new ways to manipulate visual styles at runtime. You should check out PhotonStorm's Flixel Power Tools, especially FlxSpecialFX.
0
Thats a lot of fun! I'm always looking for new ways to manipulate visual styles at runtime. You should check out PhotonStorm's Flixel Power Tools, especially FlxSpecialFX.
0
" id="comment_form">


20
11
13,036



