Easy Method to Change Color on UI Elements

Posted by A13X on Game Development See other posts from Game Development or by A13X
Published on 2013-10-15T03:39:26Z Indexed on 2013/10/18 4:15 UTC
Read the original article Hit count: 176

Filed under:
|
|
|

This isn't a language-specific thing as far as I'm concerned. I was wondering what may be a quick way to change the COLOR of a certain on-screen element such as a button and its associated text.

I would assume there is a trick to making a graphics engine so maybe individuals pixels or groups of sprites can have their colors easily shifted. A lot of game interface buttons and such have this so you know when an event like a click has occurred.

Any pseudo code would be helpful and I am working in Android (not XML fluff), but again, this probably is not a very specific question, just an inquiry on how to go about this.

© Game Development or respective owner

Related posts about java

Related posts about android