|
-
Aug 27th, 2001, 11:09 PM
#1
Thread Starter
Junior Member
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
-
Aug 28th, 2001, 09:06 AM
#2
Good Ol' Platypus
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)
-
Aug 28th, 2001, 09:07 AM
#3
Good Ol' Platypus
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)
-
Aug 28th, 2001, 10:44 PM
#4
Thread Starter
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|