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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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