Its me again Margaret... Well ok, thats more how I feel every time I ask a question . Anyways, to the point. I'm working on some pixel perfect collision stuff using S2DL and JEDI-SDL. I have the code working to tell me the overlap rectangle of the two surfaces. No problem. The problem is, how do I tell if the Alpha or color of the pixels is the transparent one? Looking into SDLImage I can see how to setup the transparent color, but not how to get it back. I can find the methods (in SDL.pas) to getRGBA, but not how to use the SDLImage in conjunction with it.

Anyone care to post up some sample code showing how exactly I can tell if a pixel is (either by Alpha or Color) transparent on the surface?

Thanks in advance,