Jump to content

Blurry text after scaling


Recommended Posts

On window resize, the player camera zoom in/out.

this.renderer = new PIXI.autoDetectRenderer(cfg.scopeInitX, cfg.scopeInitY, {
    view: this.canvas
this.stage = new PIXI.Container();
const text = new PIXI.Text("Test");
text.style = {
    fontSize: '25px',


//on resize (new scale computed)
this.renderer.resize(this.canvas.width, this.canvas.height);

Resizing makes all the texts inside the stage (scale != 1) blurred.

Do you have a solution to avoid that? I've read solutions about setting new .RESOLUTION, but no result...


Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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