Howto apply alpha to a sprite so it will work.
With the following code, the sprite still is completely visible.
Can someone help me ?
batch.enableBlending();
if (sprite != null) {
Color c = sprite.getColor();
c.a = 0;
sprite.setColor(c);
}
batch.draw(sprite, x, y);
sprite.setAlpha(0f);