Giter Site home page Giter Site logo

Comments (11)

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

Hi, I missed this issue.

Please, can you tell whats the resolution of your screen?

Try with a lower resolution, with 1920x1080, just to see if it is a resolution problem.

from phasereditor2d-v3.

NickChowDev avatar NickChowDev commented on August 10, 2024

image
The above image captured from the resolution (1792 X 1120). It seems the issue is not relative to the screen resolution.

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

I see... Please, what's your browser? I should do a research about it. The blurry texts you see are painted in a canvas element, they are not HTML texts.

from phasereditor2d-v3.

NickChowDev avatar NickChowDev commented on August 10, 2024

My browser: Google Chrome, Version 81.0.4044.138 (Official Build) (64-bit)
Please let me know the answer. I also facing the same problem in my Phaser Game. The temporary solution for me is text.setResolution(2) and text.setScale(2).

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

Please, can you open the Chrome DevTools console and type devicePixelRatio:

image

Tell me your value. I think we have this problem: https://www.html5rocks.com/en/tutorials/canvas/hidpi/

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

Hi @NickChowHK

Regarding your Phaser game, for now, you should do it yourself. You can read about it in this DevLog of Phaser: https://phaser.io/phaser3/devlog/123

from phasereditor2d-v3.

NickChowDev avatar NickChowDev commented on August 10, 2024

Please, can you open the Chrome DevTools console and type devicePixelRatio:

image

Tell me your value. I think we have this problem: https://www.html5rocks.com/en/tutorials/canvas/hidpi/

The console show devicePixelRatio = 2

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

Hi @NickChowHK

I did several changes to support HiDPI, please, can you test this release:

PhaserEditor2D-3.0.0-macos.zip

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

When you open the browser, please, ensure you clear the cache, to get the latest version of the files.You should see this message in the console:
image

from phasereditor2d-v3.

NickChowDev avatar NickChowDev commented on August 10, 2024

image

@PhaserEditor2D Many Thanks. The editor displays the text much clearly now.

from phasereditor2d-v3.

PhaserEditor2D avatar PhaserEditor2D commented on August 10, 2024

Great @NickChowHK

I will close this issue. Please, if you find any other issue, for example with the position of the dialogs, or the size of icons in the UI, you can open another issue.

from phasereditor2d-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.