packager
packager copied to clipboard
Control button to download project
From https://scratch.mit.edu/users/MARTINELPLAYZ/
suggestion : add an option to the packer to add a download project button to the control bar (its good for "engine" projects that need to be remixed)
i thought about this from sheeptester's packager
Support for this. I think that this will stop many people from having to type fetch('path-to-sprite.sprite3') .then(r => r.arrayBuffer()) .then(buffer => vm.addSprite(buffer)) .then(() => { console.log("Done"); }) .catch((error) => { console.log("Error", error); });
into custom JS, enable some stuff, etc.
Edit: Whoopsies! That code is just for importing sprites! I still support, though.
The complication here is that the packager compresses projects in a way that makes editing the downloaded project rather annoying
And once "packaged runtime" mode becomes the default, an additional complication will be that we discard raw asset data after the project loads to save memory.
What is Packaged Runtime mode exactly? Will it be optional? And does it mean projects being precompiled by the packager?
On Tue, Aug 9, 2022, 12:11 AM GarboMuffin @.***> wrote:
And once "packaged runtime" mode becomes the default, an additional complication will be that we discard raw asset data after the project loads to save memory.
— Reply to this email directly, view it on GitHub https://github.com/TurboWarp/packager/issues/474#issuecomment-1208888905, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZTWPZJRPIYBSRH3BYJCUWLVYHK7ZANCNFSM536ZXXXQ . You are receiving this because you commented.Message ID: @.***>
"packaged runtime" mode will "discard raw asset data after the project loads to save memory", like the comment says
It is optional right now, it will be enabled by default in the future, maybe there will be an option to disable it
Oh, sorry for that, then. I'm not always the best listener. Although, the only perfection is imperfection!
On Tue, Aug 9, 2022, 2:16 PM GarboMuffin @.***> wrote:
"packaged runtime" mode will "discard raw asset data after the project loads to save memory", like the comment says
It is optional right now, it will be enabled by default in the future, maybe there will be an option to disable it
— Reply to this email directly, view it on GitHub https://github.com/TurboWarp/packager/issues/474#issuecomment-1209716075, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZTWPZLMFIQ6YBNYW6LZED3VYKN7VANCNFSM536ZXXXQ . You are receiving this because you commented.Message ID: @.***>