Jump to content

1.1.4 Crisp Rendering


Recommended Posts



I just upgraded from 1.1.3 to 1.1.4 and now I'm having some trouble with getting the crisp rendering working again.

In my boot state, I use 

Phaser.Canvas.setSmoothingEnabled(this.game.context, false);

This worked great in 1.1.3 but now it doesn't anymore. My sprites are all being scaled on creation and this somehow seems to reset the imageSmoothing. After some digging in the phaser code I commented out this command which appears in line 3292 and 45549 of phaser.js:

context[this.smoothProperty] = (this.scaleMode === PIXI.BaseTexture.SCALE_MODE.LINEAR);

Now the pixels are all crisp again but I have no idea of possible side effects and I want to avoid modifying the phaser core.


Any thoughts?


Link to comment
Share on other sites


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...