Difference between revisions of "ColorMode"

(added 'modulate')
m
Line 1: Line 1:
 
{{newin|[[0.2.0]]|020|type=enum}}
 
{{newin|[[0.2.0]]|020|type=enum}}
 +
{{oldin|[[0.9.0]]|090|type=enum}}
 
Controls whether images will be affected by the current color.
 
Controls whether images will be affected by the current color.
 
== Constants ==
 
== Constants ==

Revision as of 11:36, 31 March 2013

Available since LÖVE 0.2.0
This enum is not supported in earlier versions.
Removed in LÖVE 0.9.0
This enum is not supported in that and later versions.

Controls whether images will be affected by the current color.

Constants

modulate
Images (etc) will be affected by the current color.
replace
Replace color mode. Images (etc) will not be affected by current color.
combine (since 0.8.0)
Colorize images (etc) with the current color. While 'modulate' works like a filter that absorbs colors that differ from the current color (possibly to a point where a color channel is entirely absorbed), 'combine' tints the image in a way that preserves a hint of the original colors.

See Also

Other Languages