pixijs / layers

Separate the z-hierarchy of your scene tree from its canonical structure.
https://pixijs.io/layers/docs/
MIT License
222 stars 57 forks source link

Please mention pixi-layers requires PIXI.Stage #26

Closed Scharnvirk closed 6 years ago

Scharnvirk commented 6 years ago

pixi-layers does not work if the containers it works on are not within PIXI.Stage. It just happened my app does not use Stage (nor Application) at all. It was not a problem to change it to have one Stage instead of Viewport, but I have had no clue it is needed.

Would it be possible to add this mention in readme? Thanks!

ivanpopelyshev commented 6 years ago

ITs in explanations: https://github.com/pixijs/pixi-display#some-explanations

However, people have that problem too often. I should place a big banner there, "CHANGE THE ROOT OR NOTHING WILL WORK"

ivanpopelyshev commented 6 years ago

it doesnt even have to be the root, if you call updateStage manually

ivanpopelyshev commented 6 years ago

Done. thank you!