|
-
Mar 27th, 2002, 02:35 AM
#1
Thread Starter
Lively Member
Bad Bitblt
Well, I am making a boxing game like the old Star Rank Boxing on the Commodore but I have a little problem. Basically, the way I am using my BitBlt, I need to have the pictures visible and fully clear in order to use them as part of the animation. Like this:
BitBlt pic.hDC, x, Y, SpriteWidth, SpriteHeight, picMask.hDC, (FrameNumber - 1) * SpriteWidth, 0, vbSrcAnd
BitBlt pic.hDC, x, Y, SpriteWidth, SpriteHeight, picSprite.hDC, (FrameNumber - 1) * SpriteWidth, 0, vbSrcPaint
I don't want to have my picMask and picSprite sitting on the form for everyone to see. I just want to use them for the animation. But, if I make picMask or picSprite invisible then all I get as animation is big goofy boxes. Can anyone tell me if there is an API call or another way to do this animation?
Thanks.
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
|