Archived

This topic is now archived and is closed to further replies.

Guest Anonymous Poster

Blitting Sprites in VB6

This topic is 6564 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Guest Anonymous Poster
I am making a game for computer class but their is one major bug.In the program you selectan arena to play in and the characters to use from one form with thumbnails of themthen when the maximized Game form comes up it is supposed to Blit in the background with the sprites of the characters. I am only currently blitting one character as I try and get it to work. One problem though: It blits the screen and then instead of blitting the mask and picture, it blits a semi transparent image of the form from which you select the wanted arena and characters. What I am doing is this:

Place the background in a non visible picture box

Place the mask and picture in seperate non visible picture boxes

SRCCOPY the background to the visible picture box

SRCAND the mask to the visible picture box over the background

SRCPAINT the picture over the mask.

Please Help

Share this post


Link to post
Share on other sites