question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

PIXI.settings.SCALE_MODE not working

See original GitHub issue

I set PIXI.settings.SCALE_MODE = PIXI.SCALE_MODES.NEAREST; and it does not work.

Doing PIXI.SCALE_MODES.DEFAULT = PIXI.SCALE_MODES.NEAREST; does not work in the latest version either, even though it prints the deprecation message.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
ghostcommented, Jan 30, 2017

@bigtimebuddy, ah, apologies for the incorrect usage of cacheAsBitmap in the example.

Thank you!

1reaction
ghostcommented, Jan 29, 2017

@bigtimebuddy, okay, I’ve made a simple JSFiddle but it seems even more broken. When I uncomment the container.cacheAsBitmap = true; line, the console has an error and nothing renders.

Link: https://jsfiddle.net/4jpfqa10/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Scalemode not fixed? · Issue #7606 · pixijs/pixijs - GitHub
Expected Behavior. The scalemode to pixi nearest to work. Current Behavior. Still does texture bleed. Steps to Reproduce.
Read more >
scale mode - Pixi.js - HTML5 Game Devs Forum
Hello, I updated from 4.0.0 to 4.2.2 and now the scalemode does not seem to work. PIXI.settings.SCALE_MODE = PIXI.SCALE_MODES.
Read more >
PIXI.settings - PixiJS: Documentation
1: Use the pixi.js-legacy package, which includes a Canvas renderer as a fallback in case high performance WebGL is not supported. 2: Call...
Read more >
PIXI.settings - PixiJS API Documentation
1: Use the pixi.js-legacy package, which includes a Canvas renderer as a fallback in case high performance WebGL is not supported. 2: Call...
Read more >
@pixi/graphics-smooth - npm
Start using @pixi/graphics-smooth in your project by running `npm i ... 1.0); //the usual, but scaleMode works by default settings.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found