Home > Game Dev > Slick setColor

Slick setColor

September 21st, 2009 Leave a comment Go to comments

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.

Share and Enjoy:
  • Print
  • Digg
  • StumbleUpon
  • del.icio.us
  • Facebook
  • Yahoo! Buzz
  • Twitter
  • Google Bookmarks
Categories: Game Dev Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.

 

Switch to our mobile site