diff --git a/js/index.js b/js/index.js index a4b6672..6b7ec6e 100644 --- a/js/index.js +++ b/js/index.js @@ -160,6 +160,9 @@ Game.prototype.startGame = function () { this.ctx = ctx; + ctx.msImageSmoothingEnabled = false; + ctx.mozImageSmoothingEnabled = false; + ctx.webkitImageSmoothingEnabled = false; ctx.imageSmoothingEnabled = false; ctx.drawImage(this.img, 0, 0, width, height);