DisplayTranslucentSprite should use TransparentSpriteColor

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
IceSoft
Addict
Addict
Posts: 1686
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

DisplayTranslucentSprite should use TransparentSpriteColor

Post by IceSoft »

The default transparent color 0 is not always useful.

Better:
DisplayTranslucentSprite() should also use TransparentSpriteColor()

@Fred
If you can add this in PB4 this will be great for PBpuzzle.
I want to use it for the shadows. But I cannot use always color 0 because color 0 can be part of a picture.
Belive! C++ version of Puzzle of Mystralia
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...