PIXI.settings.SCALE_MODE not working
See original GitHub issueI 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:
- Created 7 years ago
- Reactions:3
- Comments:13 (5 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bigtimebuddy, ah, apologies for the incorrect usage of
cacheAsBitmap
in the example.Thank you!
@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/