Posts Tagged ‘colortransform’
 

colorthumbnail
16
comments
Tutorials

Changing Colors Dynamically with ColorTransform in AS3

Posted January 31, 2011 by Par

Alright so what’s this tutorial about? Well let’s say your game has enemies that on death splat blood all over the place… sounds wonderful. So maybe these enemies are aliens with green blood, but a couple of them need to have blue blood, and well, maybe, another one should have yellow. What do you do? Copy the same movieclip over and over each time changing the color of the blood? No… there’s a much easier solution for handling color changes in ActionScript. (If you don’t like the blood reference, imagine a cutesy dress up game where you want to change the colors of the outfits)

Full Story »