blockly-threex icon indicating copy to clipboard operation
blockly-threex copied to clipboard

Saving Blocks

Open randompast opened this issue 11 years ago • 2 comments
trafficstars

URLS get too long. Implement a way to save current block configuration and load it later.

randompast avatar Dec 15 '13 23:12 randompast

how and where to save ?

no server to run on my side being key :)

jeromeetienne avatar Dec 16 '13 06:12 jeromeetienne

They click a button and it spits out some equivalent of what you're currently doing for the URL, Then, they have the option of copy pasting that and saving it on their own computer as a text file. Then, when they play again, they can paste the script into your load function and it basically loads it like how you currently do your URL. You've got most of it already, shouldn't be much extra.

randompast avatar Dec 16 '13 08:12 randompast