WiLD11 Posted December 17, 2015 Share Posted December 17, 2015 Hi!I was wondering if there is any simple way of doing RGB split effects in Phaser Example:(https://cdn.tutsplus.com/active/uploads/legacy/tuts/076_rgbShift/Tutorial/2.jpg) Link to comment Share on other sites More sharing options...
in mono Posted December 18, 2015 Share Posted December 18, 2015 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 More sharing options...
Recommended Posts