Slick’s setColor method

I’m just messing around with the setColor method in Slick. It allows you to manipulate the color property (red, green, blue, alpha) of a corner.

The numbers, 0 through 3, represent the four different corners of a tile (as shown in the image). The combinations of corner manipulation with 100% transparency are indicated in the image.

Leave a Reply

Staypressed theme by Themocracy