elsioneto Posted February 25, 2014 Share Posted February 25, 2014 Has anyone made a pixel collision between 2 sprites? I'm trying to manipulate manually the drawImage sequence on the canvas to get the alpha info of the sprite, but it's not working. Link to comment Share on other sites More sharing options...
d13 Posted February 25, 2014 Share Posted February 25, 2014 Have you seen this? http://www.playmycode.com/blog/2011/08/javascript-per-pixel-html5-canvas-image-collision-detection/ elsioneto 1 Link to comment Share on other sites More sharing options...
elsioneto Posted February 26, 2014 Author Share Posted February 26, 2014 No, hadn'tt! Great code and works fine! Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts