How to create 32bit BMP format with transparency Alpha and when it save it background is black in color, and it in game it will turn to transparency alpha again.
Forum
![>](img/i_next.png)
![>](img/icons/offtopic.png)
![>](img/i_next.png)
How to 32 bit bmp?
7 replies![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)
How to create 32bit BMP format with transparency Alpha and when it save it background is black in color, and it in game it will turn to transparency alpha again.
Look like it turn black, but it will turn transparency alpha in cs2d?
If you're using
![cs2d lua cmd](img/i_codehelp.png)
cs2d help has written
PATH<b> - black pixels (rgb 0,0,0 or HEX #000000) will become invisible in the specified image (this mode is used by default but another masking method might be used if the image has been loaded before with another method. So please use this tag if masking of black pixels is important)
In the editor:
Env_Sprite, Mask = 4
PS: PNG would also work with this trick (black pixels), JPG will give graphical artefacts due to compression
![user](img/i_friend.png)
![](img/smiles/embarrassed.gif)
@
![user](img/i_friend.png)
![](img/smiles/tongue.gif)
![user](img/i_friend.png)
![](img/smiles/smile.gif)
![To the start](img/i_first.png)
![Previous](img/i_prev.png)
![Next](img/i_next.png)
![To the start](img/i_last.png)