VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Translucency for Games

Jotaf98  (9 Submissions)   Graphics   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

What this function does is paint a picture to another one, but with a nice translucency effect! Very cool if you want a small, quick function to use translucency in your games -- something that only the top games you buy had!

Inputs
All you'll input is the image that will be drawn and where, its position and the height/width of the first image (basically you'll put here the ScaleHeight/ScaleWidth of the form or picturebox you'll draw to).

Assumes
To use, just add the .bas file and call the function.

Side Effects
If you use this function in large or many images at the same time, it may slow down the game, because of the huge calculations involved.

Rate Translucency for Games (7(7 Vote))

Download Translucency for Games

Translucency for Games Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters