slash Posted April 11, 2017 Report Share Posted April 11, 2017 Hi! I'm running into some issues with phaser 2.7.5 when using user scale 2x. I can see the -ms-interpolation-mode: nearest-neighbor being applied by phaser, but it doesn't seem to work and I'm ending up with blurry graphics. Is this a known issue? this is my current setup: game.scale.scaleMode = Phaser.ScaleManager.USER_SCALE; game.scale.setUserScale(2, 2); game.renderer.renderSession.roundPixels = true; game.stage.smoothed = false; Phaser.Canvas.setImageRenderingCrisp(this.game.canvas); This is what I'm seeing on IE. Any help is appreciated... thanks! Quote Link to comment Share on other sites More sharing options...
samme Posted April 11, 2017 Report Share Posted April 11, 2017 Make sure you passed antialias=false when creating the game. Nevertheless some browsers will smooth a scaled canvas regardless of image-rendering/-ms-interpolation-mode styles, especially in WEBGL mode. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.