Skip to content
gdavid04 edited this page Mar 24, 2017 · 1 revision

Sprite coloring

Color.get(a, b, c, d)

a color code of the sprite's black part
b color code of the sprite's dark grey part
c color code of the sprite's light grey part
d color code of the sprite's white part

Color codes

Examples: 550 - yellow, 500 - red, 005 - blue, 555 - white

The first digit of the number represents red.
The second digit of the number represents green.
The last digit of the number represents blue.

Each digit is a number between 0 and 5.

There's a special color code, -1 that means transparent.

Clone this wiki locally