From 18964798b77c3a2c47078a22664d8851e50bbca6 Mon Sep 17 00:00:00 2001 From: Brickcaster Date: Sun, 25 Oct 2015 10:58:38 -0400 Subject: classes/color - Documenting a trick with set_modulate I wanted to document a trick using class color to highlight a sprite. --- doc/base/classes.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 32115e604a..a26931d5aa 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -7291,7 +7291,7 @@ Color in RGBA format. - A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point, ranging from 0 to 1. + A color is represented as red, green and blue (r,g,b) components. Additionally, "a" represents the alpha component, often used for transparency. Values are in floating point and usually range from 0 to 1. Some methods (such as set_modulate() ) may accept values > 1. @@ -31619,7 +31619,7 @@ - Set color modulation for the sprite. All sprite pixels are multiplied by this color. + Set color modulation for the sprite. All sprite pixels are multiplied by this color. Color may contain rgb values above 1 to achieve a highlight effect. -- cgit v1.2.3