Forum

> > Off Topic > How to 32 bit bmp?
Forums overviewOff Topic overviewLog in to reply

English How to 32 bit bmp?

7 replies
To the start Previous 1 Next To the start

old How to 32 bit bmp?

RisingXD
User Off Offline

Quote
Sorry for the rude title just now, i just been busy because i am at school now.

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.

old Re: How to 32 bit bmp?

RisingXD
User Off Offline

Quote
I know how to make it to bmp, but does it got black background and turn transparency alpha in cs2d?

Look like it turn black, but it will turn transparency alpha in cs2d?

old Re: How to 32 bit bmp?

VADemon
User Off Offline

Quote
Note: Your "black" must be completely black, rgb: 0,0,0

If you're using cs2d lua cmd image
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

old Try different modes

KimKat
GAME BANNED Off Offline

Quote
I've tested before and noticed that some image bitmap (BMP) modes were not compatible with CS2D and caused strange effects in CS2D. I then fiddled around with each mode to find the right one. Can't remember which though but I'd suggest getting The GIMP or other image editing software and play around with each mode until you get it right then no more problems will arise. Hope you found this comment useful.

old Re: How to 32 bit bmp?

XoOt
Super User Off Offline

Quote
Check some gimp tutorials or guides. They will show you all the basics. That how i learned to use photoshop. Someday after you played around with all its functionalities You will know everything you need. Rome havent been built in one day too.

old Re: How to 32 bit bmp?

KimKat
GAME BANNED Off Offline

Quote
@user RisingXD: I ment images in general. You probably need to read on more about graphic design to really pickup on how to save in different formats and modes.
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview