Is there any way to make a sprite darker or lighter in AndEngine? I dont want to use the alpha thing. Nor I want to loose the texture/design of the image.
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
One way in 2D Android to do darken or perhaps even to make it lighter is to use the lighting color filters:
However, this can a bit diminish the color detail on the sprite. |
|||||||
|
|
For my opinion you have to use setColor method of the sprite to make it darker and lighter. To make darker sprite you have to use
To make lighter sprite again you have to use
|
|||
|
|
