Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 Alpha Blending in DX7
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Slyprid
Neophyte

2 Posts

Posted - Jun 04 2003 :  12:54:59 PM  Show Profile  Reply with Quote
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

Eric Coleman
Gladiator

USA
811 Posts

Posted - Jun 04 2003 :  4:34:45 PM  Show Profile  Visit Eric Coleman's Homepage  Reply with Quote
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.

Go to Top of Page

Slyprid
Neophyte

2 Posts

Posted - Jun 04 2003 :  7:38:18 PM  Show Profile  Reply with Quote
Thanks for the links. This is what I was looking for.

Slyprid
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.09 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.