DirectDraw Surface.Draw with aplhablending

hi, to all. I have problem with Drawing surface(in managed DirectDraw)  not ColorKey using, since we want to use aphablending for that, how to do that We use png or tga formats for drawing durfaces.


Answer this question

DirectDraw Surface.Draw with aplhablending

  • JRandJame

    acutally I'd like not use any part ofd3d , I'm creating 2d game, you mean use 3d3X sprites for that

  • captainahab

     freeze wrote:
    acutally I'd like not use any part ofd3d , I'm creating 2d game, you mean use 3d3X sprites for that


    Alpha blending (i.e. true blending) is not supported in DirectDraw.  If you would like that you either need to roll your own blitters on top of DirectDraw, use GDI+ or move to using Direct3D (and using D3DX Sprites).


  • Kelly7018

    You want to use alpha-blending instead of color-key with DDraw Can you use the D3DX sprite library
  • thelion

    thx, for now we'll try to prepare graphics will one transparent key, then if we'll get free time, will try to recode engine to d3d sprites

  • DirectDraw Surface.Draw with aplhablending