qqgp Posted January 12, 2014 Share Posted January 12, 2014 Various modes of blending layers. Is there it? Link to comment Share on other sites More sharing options...
Mike Posted January 12, 2014 Share Posted January 12, 2014 What Pixi can Phaser can. http://www.pixijs.com/examples/ - Example 16 http://www.goodboydigital.com/new-year-new-pixi/ - Check the Blend Modes for webGL and Canvas And I hope this helps you I'll wait to see your result. Link to comment Share on other sites More sharing options...
rich Posted January 12, 2014 Share Posted January 12, 2014 Pixi 1.4 introduces all of the new canvas blend modes too, so when we update to that next month there will be loads of new toys to play with Link to comment Share on other sites More sharing options...
keyle Posted March 30, 2014 Share Posted March 30, 2014 @Rich any example on how we can use that ? Link to comment Share on other sites More sharing options...
rich Posted April 1, 2014 Share Posted April 1, 2014 You just set the Sprite.blend property to whatever you want Note that in WebGL Pixi only supports a couple of blend modes right now, and in Canvas you need a super-latest version browser for blend mode support. There is a Pixi.js blend modes example you can check out - basically anything they set the blend mode to in there you can do in Phaser too. Link to comment Share on other sites More sharing options...
Recommended Posts