In HaxeFlixel I do the following:
pixels is of the type
anotherSprite gets drawn on top of
someSprite. The problem is that when I give
anotherSprite an alpha this does not get translated when drawing the sprite on the bitmap. I can give the sprite an alpha of
0.1 but when drawing
someSprite after drawing
anotherSprite, the latter still appears in full alpha.
It’s worth noting that the transparency of
anotherSprite's image does not get lost.
Is there any way to fix this? I messed around with blend modes but nothing worked.