Jump to content

ScaleMode RESIZE - PixelRatio unwanted blur


gregoireb
 Share

Recommended Posts

Hi everyone!

I'm currently building a Phaser tap tap like game for mobile devices. Using Phaser for the first time, I digged into the hard topic of scaling my game for multiple screen sizes and pixel ratios. After looking at every available scale modes, I choosed to go for Phaser.ScaleManager.RESIZE which looks perfect for what I want (changes the Game size to match the display size). The game looks good on my desktop screen but seems blurry when using an iPhone or Samsung Galaxy S8. I looked at many forum topics but the answer to the question of making a game "responsive" doesn't look clear. 

Is there anything I can do to make my texts and pictures not blurry on devices where the pixel ratio is higher than 1? Like scaling my game according to the pixel ratio without distorting it?

Link to comment
Share on other sites

I think resolution (in new Phaser.Game) is intended for this but it seems buggy in Phaser v2.7.0 and up.

You may have to use scaleMode USER_SCALE and write your own RESIZE-like handler that uses pixel ratio.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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