Results 1 to 4 of 4

Thread: Fade a dxsurface to black during a certain amount of time?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    23

    Fade a dxsurface to black during a certain amount of time?

    How can I do this??

    I have tried to put DDPalettes on my surface, but I keep getting Automation Errors and the such

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If it doesn't work, you probably aren't using an 8-bit surface. I believe setting the surface's .ddpfPixelFormat.lFlags = DDPF_PALETTEINDEXED8 will solve your problem. I've done this too but never gotten it to work, so good luck...
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  3. #3
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    If it doesn't work, you probably aren't using an 8-bit surface. I believe setting the surface's .ddpfPixelFormat.lFlags = DDPF_PALETTEINDEXED8 will solve your problem. I've done this too but never gotten it to work, so good luck...

    If that doesn't work, try setting it to DDPF_PALETTEINDEXED8 Or DDPF_PALETTEINDEXEDTO8
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    23

    Thanks!

    You double posted

    It works perfectly, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width