getting a normal on pixels is really tough (when using alpha channels).
if you just use walls like in your image, you can invert the x-axis movement (in the example image), that'll make it go the other way...

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/