AEColorMask is meant to be a simple sprite coloring system that colors specific parts of a sprite without needing to use a palette. It is a shader and a set of scripts that use the shader.
No need to set up the shader - use the draw scripts and provide the arguments
Works with pixel art or realistic art
Works with animated sprites or static sprites
Includes 7 scripts that mimic the built-in draw_sprite* scripts
A color mask is a black and white image that tells the shader where to draw the mask color (white) over the original sprite and where to leave the original sprite alone (black). You can use any gray color between black and white to get the mask color to partially appear.
Masks will automatically be resized to fix the original sprites regardless of size or aspect ratio
Using the mask scripts is a simple as adding: _color_mask to draw_sprite functions Here is a list of the available functions:
You'll need to supply 4 extra arguments to the scripts:
mask sprite //The sprite to use as a mask (should ideally be the same size as the original sprite)
mask subimg //The sub image of the mask sprite to use (this means that masks can be animated)
mask color //The color to draw over the original sprite
mask color alpha //The alpha the mask area should be drawn at (if it's at 0 then the masked area will be completely invisible and erase that part of the original sprite)
Cleaned object trash and reorganized folder structure