layers
layers copied to clipboard
Separate the z-hierarchy of your scene tree from its canonical structure.
In my setup the app.stage owns a DipslayList object and each player has its own DisplayGroup. I will add new sprites onto the player and new ones will be covered...
Something like; ``` javascript this.displayList = new PIXI.DisplayList(); // if this line is present, mask ignored. var mask = new PIXI.Graphics(); mask.beginFill(0xFFFFFF); mask.drawRect(0, 0, 100, 100); this.mask = mask; var...
Hello, I am trying to use PIXI Layers but I get the same error as in https://github.com/pixijs/layers/issues/50: ``` Uncaught TypeError: renderer.incDisplayOrder is not a function prerender pixi-layers.es.js:579 render pixi-layers.es.js:512 node_modules...
### Current Behavior When you click over an sprite with bigger zOrder but that was drawn before the one with smaller zOrder the click will go to the sprite with...
using this, when i do app.stage = new Stage(); it gives me this error, i have not found anything about it and i appreciate any help
Hey, When added @pixi/layers to my project with it breaks all mask that hide what's outside of them: ``` let layer = window.layer = new Layer(); // happens in init.js...
Hello, I have the impression that the ZIndex property doesn't work at all. No matter what value is set, it's the order of addition to the Stage that matters, not...
I tested a piece of code on [CodeSandbox](https://codesandbox.io/s/pixi-layer-test-zo3iyq?file=/src/index.js), and I don't understand the following: 1. Why does 'aBunny' disappear when I remove line 37 (cBunny.zOrder = 2)? 2. When I...
Hello maintainers, I have been using @pixi/layers in my project and I'm interested in integrating @pixi/events. I would like to know if you have any plans to support @pixi/events in...
I can get a sprite to display with Pixi 7.2 from a webworker, but when I put it on a layer the same way I did before it displays nothing....