|
-
Jun 23rd, 2002, 02:04 PM
#1
Thread Starter
New Member
BitBlt
Ok I am writing a game in VB and have created my board from Bitmap squares, by using the BitBlt function. However I now need to put my character on the board, but make its background transparent so it is not surrounded by a square box.
The character is in .gif format with a transparent background but when I place it on the board using BitBlt there is still a boarder on it.
Can it not be done using BitBlt? Is their another way?
-
Jun 23rd, 2002, 04:10 PM
#2
-
Jun 23rd, 2002, 04:14 PM
#3
-
Jun 24th, 2002, 10:23 AM
#4
Member
TransparentBlt causes memory lacks, don't use it.
-
Jun 24th, 2002, 02:36 PM
#5
I've heard that too. Doing a standard Blt with masks is probably the best bet.
Z.
-
Jun 24th, 2002, 02:36 PM
#6
Frenzied Member
Originally posted by Yhoko
TransparentBlt causes memory lacks, don't use it.
Good point - forgot about that.
With VB's paintpicture, my game costed approx. 15-25% of my GDI memory overall and with TransparentBlt, 91% and rising!
MicroBasic
Dragon Shadow Trainer
There is no good or evil in the world...only programmers and fools .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|