Merge 2 Scratch (3) projects into one
Combination of generator3 and wave wave hard tho
sb3merge is a tool to combine two Scratch 3 projects together. It was created by @themysticsavages (me) and @UtterDonkey.
For plain users, go to the Github page, you can also run this locally if you strongly dislike Github Pages.
This same repo offers a function which can basically do the same thing as the website but in JavaScript.
Just import the script any way you want, and do this:
/**
* Merges two Scratch 3 objects.
* @param {object} p1 - The first project (should be a larger object than the second)
* @param {object} p2 - The second project
* @returns {string} string - JSON representation which can be parsed
*/
var thing = mergeJSON(object1, object2)
// If you want to parse this response, you may need JSON5