Taro Posted August 4, 2018 Share Posted August 4, 2018 In Phaser 2 (CE), setting 'resolution' makes image better quality. In Phaser 3, setting resolution is just making width and heigh higher and scaling images (lower quality). I set resolution both to 1 and window.devicePixelRatio (will be 2 or 3), but there are no different, no better quality, nothing. Am I missing somethings about 'resolution'? Any help? Link to comment Share on other sites More sharing options...
samme Posted August 4, 2018 Share Posted August 4, 2018 https://github.com/samme/phaser3-faq/wiki#how-do-i-make-a-high-resolution-canvas Link to comment Share on other sites More sharing options...
rich Posted August 6, 2018 Share Posted August 6, 2018 This has been fixed in the 3.12 Release. You can find Beta 1 of 3.12 out now on GitHub and in npm under the beta tag. Please use that to test resolution changes. Link to comment Share on other sites More sharing options...
Doug Posted February 1, 2019 Share Posted February 1, 2019 Hi Quick one (hopefully). Is using the resolution setting the best way to deal with HDPI screens on mobile? i.e. set the game size to the innerHeight and innerWidth of the screen and then set the "resolution" setting to the devicePixelRatio. It seems to work, but I am getting a bit of a performance lag. I assume just because the higher resolution means that device is working harder rather than because it's not the proper solution? Thanks :) D Link to comment Share on other sites More sharing options...
Recommended Posts