flambe
flambe copied to clipboard
Beta Zip Loading
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
Cool, will this work on a Flash target too?
Nope, but that's an easy change! I'll commit one with Flash support tomorrow.
@aduros Any thoughts on whether this should be merged in or not?
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.
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.