VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Easier Sprite

by Jose M. Lopez (10 Submissions)
Category: Games
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (4 Votes)

Simply an easier way of implementing sprites.
Instead of making a B&W mask, you will only use
the image itself.
The 1st time with the transparent area black,
The 2nd time with the transparent area white.
This utilizing VBs vbSrcPaint and vbSrcAnd respectively.
This method allows for a little easier bmp editting.
It is easier, (in my opinion),
to paint only the transparent area in both images
than it is
to paint both the transparent & non transparent
areas in one image.

Assumes
Using sprites.

Rate Easier Sprite

Upload

Download this snippet    Add to My Saved Code

Easier Sprite Comments

No comments have been posted about Easier Sprite. Why not be the first to post a comment about Easier Sprite.

Post your comment

Subject:
Message:
0/1000 characters