Original Post
I would like to do a pixel perfect collision detection between two sprites. I have read all the tutorials i can find, and I''ve got a grip of the theoretical basics. I make a overlaping rectangle och the two sprites when they overlap. Then I scan the overlap rectangle for pixels of both sprites that is not transparent. _But_ how do i access the pixels in a directdraw7 surface? Are there any good functions that are easy to use? I can''t find any code examples in C++ for DirectX (8.1)...
Regards,
Mattias