JamesPro1999 Posted January 6, 2018 Share Posted January 6, 2018 I download examples of phaser thinking that I am the one who did not use the perfectclick event properly but still gives that error .. Failed to execute 'getImageData' on 'CanvasRenderingContext2D': The canvas has been tainted by cross-origin data. Link to comment Share on other sites More sharing options...
samme Posted January 6, 2018 Share Posted January 6, 2018 14 hours ago, JamesPro1999 said: The canvas has been tainted by cross-origin data. You need to be running a local server (same-origin), or you need to set game.load.crossOrigin=true. JamesPro1999 1 Link to comment Share on other sites More sharing options...
JamesPro1999 Posted January 8, 2018 Author Share Posted January 8, 2018 Thanks i need running a local server Link to comment Share on other sites More sharing options...
Recommended Posts