The Global Colors Module (GCM) contains some of the most common colours, conveniently named and ready to use in your games, rather than having to manually define them using the standard RGB format.
You can add your own predefined colours using the same format and use them in your scripts.
|Required:||Yes (for a number of my scripts)|
|Release Date:||10 September 2012|
|Last Update:||19 October 2013|
In many of my scripts, this module (along with the Universal Configuration Settings Module) is required. If it’s missing or disabled, then a friendly dialog box will appear to alert you and prompt you to install or enable it before being able to proceed.
- Call colours directly with COLORS::WHITE as an example, or
- Include it in a class using include CW_GLOBAL_COLORS.
Note that these are case sensitive. Common colours are all capitals.