These are chat archives for pixijs/pixi.js

Jun 2016
Olav Lindekleiv
Jun 20 2016 20:24 UTC
Why is .pivot in in the range 0-1 for Sprites, and in pixels for Containers?
Ivan Popelyshev
Jun 20 2016 22:03 UTC
its anchor
.pivot for everything
.anchor in range 0-1 for sprites
if you want to add anchor for container, then its a problem, because we really dont know width/height of it
it is calculated based on all children elements