Results 1 to 5 of 5

Thread: Create a Bitmap with two Pieces

  1. #1
    Join Date
    Feb 2009
    Posts
    71

    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.

  2. #2
    Join Date
    Jan 2009
    Posts
    140

    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?

  3. #3
    Join Date
    Feb 2009
    Posts
    71

    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.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    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 ..

  5. #5
    Join Date
    Feb 2009
    Posts
    71

    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.

Similar Threads

  1. What are Bitmap files?
    By L 4 Life in forum Windows Software
    Replies: 5
    Last Post: 18-01-2011, 08:04 AM
  2. How can I resize the Bitmap image?
    By G.Burgess in forum Windows Software
    Replies: 3
    Last Post: 26-10-2010, 02:35 PM
  3. Generating bitmap images via javascript
    By Croulet in forum Software Development
    Replies: 3
    Last Post: 07-11-2009, 09:08 PM
  4. Bitmap Index for Oracal 10g
    By Deeptimoy in forum Software Development
    Replies: 2
    Last Post: 07-02-2009, 11:58 AM
  5. Difference Between Bitmap, JPEG, and GIF Files
    By kaartik in forum Operating Systems
    Replies: 3
    Last Post: 15-01-2009, 05:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,717,393,160.89701 seconds with 16 queries