Slyprid |
Posted - Jun 04 2003 : 12:54:59 PM I'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 |
Slyprid |
Posted - Jun 04 2003 : 7:38:18 PM Thanks for the links. This is what I was looking for.
Slyprid |
Eric Coleman |
Posted - Jun 04 2003 : 4:34:45 PM There 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 http://www.rookscape.com/vbgaming/ 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 http://www.mwgames.com/voodoovb/ in the Tutorials section under DirectX 7. Actually, all of these examples are for using Direct Draw in DirectX7. |
|
|