Jump to content

Pixelization when using Phaser.ScaleManager.RESIZE vs Phaser.ScaleManager.SHOW_ALL


ptotheaul
 Share

Recommended Posts

I have a game where I am using RESIZE to set the canvas to full browser width/height and then scaling a group that contains the game elements(based on 620x1024 sizing) to fill the height(but keeping aspect ratio) using:

this.gameAreaGroup.scale.setTo(this.scalePercent, this.scalePercent);

The images get pixeled and not smoothed it seems.  If I switch to using SHOW_ALL the images get smoothed out and look great.  The issue is that I need access to the full browser width which SHOW_ALL doesn't allow.

Any ideas why I'm getting the pixelization?  Attached is an example

SHOWALLVSRESIZE.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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