I’m making a game in javascript (for IE 10) that has a colision system.
I want to colide the objects only when 2 visible parts colide, i want to ignore the transparent parts of the images.
Has any way to know if a position from an < img > is transparent or not?
‘Burn’ the image into an HTML5 canvas, then get the specific pixel from the canvas and check its Alpha (http://falcon80.com/HTMLCanvas/PixelManipulation/getImageData.html).
I think it would be easier if you only worked with HTML5 canvas instead of moving around DOM segments.