soylomass Posted August 25, 2017 Share Posted August 25, 2017 Basically that's what I want to achieve, removing/hiding a part of a sprite/image/graphic. That's the opposite of how masks work in Phaser, so does anyone know how to achieve that result? Link to comment Share on other sites More sharing options...
soylomass Posted August 25, 2017 Author Share Posted August 25, 2017 Ideally it should be a performant solution, as the size of the circle hole would change often. Link to comment Share on other sites More sharing options...
samme Posted August 28, 2017 Share Posted August 28, 2017 You can use a BitmapData object. Or you can try to draw the mask using multiple shapes. Link to comment Share on other sites More sharing options...
samme Posted August 28, 2017 Share Posted August 28, 2017 Link to comment Share on other sites More sharing options...
Recommended Posts