GM: image blend

From GMpedia.org Wiki

Jump to: navigation, search
The correct title of this article is image_blend. It appears incorrectly here because of technical restrictions.

image_blend

Type: variable
Globalism: Local
Editable: Yes

The image_blend variable in Game Maker is a local variable defining the blend color for an object's sprite.

Default, the blend color is c_white. A blend color of c_black will make the image completely black. Other values will colorize the whole sprite depending on the r,g,b values used. Normally, when blending an image, its color will always be darker than the original color. But you can get other effects by changing the blend mode.

The image_blend variable was introduced in Game Maker 6.0 and is a variable you can only use when you register your copy of the program.

Personal tools