jdnichollsc Posted January 25, 2015 Share Posted January 25, 2015 Hi guys! One question... the onInputDown event from a button can ignore the transparent color? Thanks in advance, Nicholls Link to comment Share on other sites More sharing options...
Daniel Belohlavek Posted January 25, 2015 Share Posted January 25, 2015 Check: http://examples.phaser.io/_site/view_full.html?d=input&f=pixel+perfect+click+detection.js&t=pixel%20perfect%20click%20detection jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted January 26, 2015 Author Share Posted January 26, 2015 Wowww!! You are the best! One question... this works with drag and drop? Regards, nicholls Link to comment Share on other sites More sharing options...
Daniel Belohlavek Posted January 26, 2015 Share Posted January 26, 2015 It should, yes. Check out the Phaser examples for dragging and pixel perfect click detection and combine them! jdnichollsc 1 Link to comment Share on other sites More sharing options...
jdnichollsc Posted January 26, 2015 Author Share Posted January 26, 2015 Hi Belohlavek! I tryed it but I see an error, the spritebound have a big size and does not allow drag the other elements... Regards, Nicholls Link to comment Share on other sites More sharing options...
Daniel Belohlavek Posted January 26, 2015 Share Posted January 26, 2015 I don't understand your problem. Here's some code: http://jsfiddle.net/1ff6sayh/2/ Link to comment Share on other sites More sharing options...
jdnichollsc Posted January 26, 2015 Author Share Posted January 26, 2015 For to show mi example... Please, How Can I create and load atlas from cache? Regards, Nicholls Link to comment Share on other sites More sharing options...
Recommended Posts