It?¢_Ts been about 3 years since I?¢_Tve programmed in Delphi so I?¢_Tm in need of a bit of help. I'm not using anything but Clootie's headers, no delphix, no fulb or bass or any weird wrapper for directx stuff.

(Hail goes to Clootie, omg you are so freaking amazing with all the directx headers)

So I have a pretty good working asteroids clone. Not to bad. But now it?¢_Ts getting hard to do things that I?¢_Tm not finding any information on tutorials or even C examples.

Collision Detection:
I keep reading up on using pixel precise collision detection, and I completely get it. I can easily create a rect of the overlapping sprites. My code already knows which sprites need to check to see if they collide. However, I can't find any examples of exactly how to implement it. Do I actually blt the two images? If so I need to blt them as bitmasks right? How do I create bitmasks of images? Once that?¢_Ts all done, I need to read through all the pixels, I found some code to do that, but if I'm using bitmasks, what?¢_Ts it actually going to look like? I mean I?¢_Tm not reading 8/16/24/32 bits of color. Also what does the blt command look like for xor'ing it to the screen?

I'm using dXdisplay.CreateFullScreenDisplay(Handle, Width, Height, 16) to create my DirectX Display(surface). How do i specify the refresh rate?

Any source, links and/or help would be greatly appreciated!