Jump to content

RGB Split in Phaser


WiLD11
 Share

Recommended Posts

I doubt there is something readily available, but you can do it yourself - load the image into a BitmapData, then use getPixel() or getPixel32() to do a check for each pixel; conditionally push the pixels to two separate arrays, load them into two new BitmapData objects, make a sprite from each one and shift them aside. The tricky part would be to play with blending options afterwards.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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