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 v4 cacheAsBitmap issue

See original GitHub issue

Not related to https://github.com/pixijs/pixi.js/issues/2831 although I have experienced that as well.

I’ll see if I can create a fiddle for this later on today, but what I think it is:

var container1 = new PIXI.Container();

var container2 = new PIXI.Container();
container2.addChild(someSprite1);
container2.addChild(someSprite2);
container2.cacheAsBitmap = true;
container1.addChild(container2);

container1.alpha = 0;

After this container2 doesn’t seem to display no matter what the alpha is of container1.

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
cvissiecommented, Aug 31, 2016

@paladizm Thanks for the fiddles. I never got round to writing them today.

0reactions
lock[bot]commented, Feb 25, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

PIXI v4 cacheAsBitmap issue · Issue #2883 · pixijs/pixijs · GitHub
I'll see if I can create a fiddle for this later on today, but what I think it is: var container1 = new...
Read more >
CacheAsBitmap - pixi.js
Pixi.js usage examples. ... CacheAsBitmap. ";";. Change editor theme : ... 4. // create the root of the scene graph. 5. var stage...
Read more >
PIXI.Container - PixiJS API Documentation
If cacheAsBitmap is set to true , this will re-render with the new resolution. Default Value: null. cullable boolean inherited.
Read more >
@pixi/mixin-cache-as-bitmap - npm
Mixin to allow caching container and its children to a bitmap texture. Latest version: 7.0.4, last published: a day ago.
Read more >
cacheAsBitmap - Pixi.js - HTML5 Game Devs Forum
This issue is based on webgl limitations. There's no antialias in custom framebuffers. For more information, search "antialias" both in this ...
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