Read our article on Effects and Blend Modes for an explanation of these blocks.
This block sets an actor's blend mode. Blend Modes control how a game draws semi-transparent graphics.
[ACTOR].setBlendMode([BLEND MODE]);
Applies the specified effect to the actor. Effects stack on each other in the order they were added.
[ACTOR].setFilter([[EFFECT]]);
Removes all effects from the actor.
[ACTOR].clearFilters();
Applies a "tinting" effect to an actor given a color and a percentage amount (where 0 means no tint and 100 means that the actor is completely colored).
createTintFilter([COLOR], [NUMBER]/100)
Shifts the hue of the actor, given an amount in degrees. The full spectrum spans 0 - 360 degrees inclusive and wraps around if you exceed that in either direction.
createHueFilter([NUMBER])
Adjust how "vivid" the actor's colors are in relative percentage amounts. 0% would make an actor grayscale. 100% would restore the default saturation. 200% would make it look very vivid.
createSaturationFilter([NUMBER])
Adjust how bright (or dark) the actor is in relative percentage amounts. 0% means total darkness. 100% is the default. 200% would make it brighter than usual.
createBrightnessFilter([NUMBER])
Makes the actor draw in grayscale.
createGrayscaleFilter()
Inverts the actor's colors.
createNegativeFilter()
Applies an "old photograph" look to the actor. Sort of like grayscale but with a tinge of brown.
createSepiaFilter()