These are chat archives for pixijs/pixi.js

21st
Aug 2017
trapless
@trapless
Aug 21 2017 20:04
howdy, i've been trying to get pixi plugins to work in my project. i placed the pixi-display.js file in my scripts folder and included the script in my html just under pixi.js with the correct path. i'm getting an error in console: "PIXI.DisplayList is not a constructor".. something like that... i figured i'd try to build pixi and have the plugins included in the main file though i'm not sure it's possible. it's my first time using npm. i downloaded the pixi.js repository and from inside it's directory ran 'npm install'. npm gives me many "warn" is that normal? any assistance would be so greatly appreciated. i just want pixi with all plugins so i can experiment. i'd love to fully understand how to build it .
trapless
@trapless
Aug 21 2017 20:11
pardon my noob, i'll update node.js to v8.4.0 and try again
ᦖєgιт
@LegitSoulja
Aug 21 2017 23:29
You can get away without using pixi display. And just know pixi-display is outdated and i think is incompatible.
If you need a sorting method, use javascript array sorting
You'll sort the children in your container/stage.
And I recommend downloading pixi, as with npm I just see a bunch of unnecessary things, and I don't even see pixi included as a dependency
^ that's only if you're not self building.
ᦖєgιт
@LegitSoulja
Aug 21 2017 23:35
Or