Tylox Posted April 25, 2017 Share Posted April 25, 2017 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', }; this.stage.addChild(text); //... //on resize (new scale computed) this.renderer.resize(this.canvas.width, this.canvas.height); this.stage.scale.set(scale); 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... Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.