Color255: Difference between revisions
Jump to navigation
Jump to search
InvaderZim (talk | contribs) No edit summary |
InvaderZim (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
[[category:variables]] | |||
(not a c++ variable) | |||
A string of three [[byte]]s (0-255) separated by spaces: | A string of three [[byte]]s (0-255) separated by spaces: | ||
<code>RED GREEN BLUE</code> | <code>RED GREEN BLUE</code> |
Revision as of 15:04, 6 August 2005
(not a c++ variable)
A string of three bytes (0-255) separated by spaces:
RED GREEN BLUE
Examples:
- Red = "
255 0 0
"
- Green = "
0 255 0
"
- Blue = "
0 0 255
"
- Orange = "
255 128 0
"
Hammer allows for additional integers (possibly strings and floats too?) to be attached to the end of the color255. This is used by light entities to store their brightness.