flambe icon indicating copy to clipboard operation
flambe copied to clipboard

Beta Zip Loading

Open workinKeith opened this issue 10 years ago • 5 comments

Manifest can now load zip files. AssetPackLoader saves each file in the zip as a blob and loads normally.

  • only tested so far with png, jpeg, mp3, ogg, fnt, and xml
  • only works if blob is supported

workinKeith avatar Oct 15 '13 19:10 workinKeith

Cool, will this work on a Flash target too?

markknol avatar Oct 16 '13 08:10 markknol

Nope, but that's an easy change! I'll commit one with Flash support tomorrow.

workinKeith avatar Oct 17 '13 19:10 workinKeith

@aduros Any thoughts on whether this should be merged in or not?

anissen avatar May 01 '14 20:05 anissen

This is a little under-tested. I'd call it "Beta" quality level. It works in our limited tests, but we never pushed it to 100% because for our target devices it didn't wind up improving load times (unpacking took longer than downloading).

It's an open question if that's preferable to having no ZIP/TAR support.

workinKeith avatar May 02 '14 23:05 workinKeith

Yeah, Keith and I talked about this offline when he was working on it. Since it didn't show a improvement, I'd rather avoid the maintenance cost of merging it.

It's possible that it could be optimized and retested later, but I don't think anyone's looking at it for now.

aduros avatar May 03 '14 01:05 aduros