mxmlb Posted March 24, 2015 Share Posted March 24, 2015 Hi there, Can't find a workaround for this : BitmapData.replaceRGB() does work in the major part or web browser, but it does not work in IE9, even with the polyfill under the Resources folder. Example : this.bmdShape = game.add.bitmapData(330, 250).load('shape');this.bmdShape.replaceRGB(255, 255, 255, 255, 0, 0, 0, 0, 255);This piece of code replaces the white color by transparent pixels. It works everywhere else apparently. Any idea ? Link to comment Share on other sites More sharing options...
Recommended Posts