pixi-packer-parser

2.0.0 • Public • Published

pixi-packer-parser

The manifest files created by pixi-packer (https://github.com/Gamevy/pixi-packer) are not natively supported by pixi. You need to add this module to your asset loader. At the moment only PIXI >=3.0.0 is supported.

var pixiPackerParser = require("pixi-packer-parser");
var PIXI = require("pixi.js");
 
var loader = new PIXI.loaders.Loader();
loader.after(pixiPackerParser(PIXI));
loader.add("path/to/my/manifest_DE_initial.json");
loader.on("progress", function (p) => { console.log("progress", p); });
loader.load(function () => { console.log("done"); });

Readme

Keywords

none

Package Sidebar

Install

npm i pixi-packer-parser

Weekly Downloads

0

Version

2.0.0

License

MIT

Last publish

Collaborators

  • sparkly_code_princess
  • marekventur