Search Tools Links Login

Translucency for Games


Visual Basic 6, or VB Classic

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!

Original Author: Jotaf98

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).

Assumptions

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.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 184 times

Categories

Visual Basic 6

Attachments

CODE_UPLOAD78227152000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 34,208 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.