Hi, I have two questions. Both concern this board game type program that Im working on.
1. The game uses pawns to represent the players and they are supposed to look glassy when they are drawn on the board. I want to make them appear semi-transparent against the background of the form. The board itself is made up of a number of tiles that I dynamically draw onto the back of a picture box. All of my graphics for the tiles and the players are stored in image lists. The player images are transparent Gifs and the other tiles are plain bitmaps. What drawing operation should I use to draw the player images onto the background translucently?
2. This concerns refreshing the board. I basically have a loop that controls the movement of the game pieces and every time a player piece moves, the game board is redrawn over again. The problem Im having is that every time I refresh the background (gfxObject.Clear(Color.Transparent)), it flickers a lot and leaves this nasty black background before the tiles are redrawn again. The PictureBox is set to have a background image in it so that
1. The game uses pawns to represent the players and they are supposed to look glassy when they are drawn on the board. I want to make them appear semi-transparent against the background of the form. The board itself is made up of a number of tiles that I dynamically draw onto the back of a picture box. All of my graphics for the tiles and the players are stored in image lists. The player images are transparent Gifs and the other tiles are plain bitmaps. What drawing operation should I use to draw the player images onto the background translucently?
2. This concerns refreshing the board. I basically have a loop that controls the movement of the game pieces and every time a player piece moves, the game board is redrawn over again. The problem Im having is that every time I refresh the background (gfxObject.Clear(Color.Transparent)), it flickers a lot and leaves this nasty black background before the tiles are redrawn again. The PictureBox is set to have a background image in it so that