------------------
Lich
I have a predicament. I can animate my sprites with BltFast, but then there isn't any colorkey. If I use Blt, I get the colorkey, but no animation.
I thought setting up the rect structure like this would work for Blt. (My sprite is 64x64)
============================================
rect.left = sprite.x;
rect.top = sprite.x;
rect.right = sprite.x + 64;
rect.bottom = sprite.y + 64;
lpddsback->Blt(&rect2, lpddsoff2, &rect2, DDBLT_KEYSRC, NULL);
========================================
If I have the rect set to (0,0,64,64) it works but no animation. With it set like above, nothing shows, except every few seconds I see a faint blip in the corner.
If I use the BltFast from below with the rect set to (0,0,64,64) it animates fine, but no colorkey of course.
========================================
lpddsback->BltFast(sprite.x,sprite.y,lpddsoff2, &rect2, DDBLTFAST_WAIT); // Works
========================================
Am I going about this the wrong way?
------------------
Still Learning...