Create a Bitmap with two Pieces
Hello,
For the purposes of my game, I need a place which is made of black and white boxes. For questions of places, I wanted to know if there is a way to have a black box and white box of resources and recovery of the unused place at the beginning of the execution ...?
Thank you for your help.
Re: Creates a Bitmap with two Pieces
You use two images (eg white and black square). To constitute the board, this is a simple loop. You meet really difficult to do this?
Re: Creates a Bitmap with two Pieces
Thank you again,
I thought it would have been a flicker, but thank you, It may reduces the executable .... But these executable does really matter in the sense of having two pieces(I have more than 600KB image) does the size also does matter for making the single picture into two pieces.
Re: Creates a Bitmap with two Pieces
You can even reduce the size of the executable if you draw your own images both during the execution (not image resources). Rectangle, FillRect, etc.. That functions to draw rectangles ..
Re: Creates a Bitmap with two Pieces
In fact, not because it is not too crude black / white wood texture is light / dark. but thank you for the tip. Now I try to use TransparentBlt or TransparentImage.