Jump to content

pixelPerfectAlpha and pixelPerfectOver are not working ?


Recommended Posts

Hi !

I'm trying to create simple clickable objects in phaser 3 but using the alpha channel to exclude part of the surface from being clickable. So far I've come up with this code : [PASTEBIN] which you can test in the phaser sandbox : http://labs.phaser.io/edit.html

The problem is that the image turns red even when the mouse is over parts that have alpha channel, that shouldn't happen with that code : /


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...