Alpha Blending in DX7
SlypridI'm currently working on a 2D Tile Engine. I've got the majority of the other effects and basic functions figured out, but I can't figure out how to get a Alpha Blend to work. I've seen a couple of other samples that imitate it. I've tried also to manipulate the pixels by locking the array, but I usually lock up the program during this process. Is there an another way to do this, or does anyone know a site that has some documentation on how to do this. Slyprid
Eric ColemanThere are two samples in the Files section here at VBGamer that shows you how to use 3D in a 2D game for special effects. The files are D3Dfor2D.zip and direct5d.zip. There is also another version in the files section at [url]http://www.rookscape.com/vbgaming/[/url] by by Matt Hafermann on using 3D with 2D direct draw. If you don't want to use 3D, then there is an assembly DLL you could use to do alpha blending, the source and example programs are at [url]http://www.mwgames.com/voodoovb/[/url] in the Tutorials section under DirectX 7. Actually, all of these examples are for using Direct Draw in DirectX7.
SlypridThanks for the links. This is what I was looking for. Slyprid