gluckgames / pixi-packer

Fast and flexible texture packer for PIXI.js
MIT License
40 stars 6 forks source link

manifest.json #32

Closed dan335 closed 8 years ago

dan335 commented 8 years ago

Is cache.json in ~/.pixi-packer-tmp the file needed by pixi-packer-parser?

If so why is it placed in the tmp directory? Seems like it should go in the output directory.

dan335 commented 8 years ago

I found that cache.json is missing the meta key so it must not be the same. Can't find the json file to use with pixi-packer-parser.

dan335 commented 8 years ago

I got it working. If the variations array is empty in images.js then the manifest isn't created and there's no error.

marekventur commented 8 years ago

The cache.json is only there for cache reasons, it never needs to be (and never should be) sent to the client. All that will happen if a key is missing or the whole file is removed is that the next processing will take longer.