leopard-js / sb-edit

Javascript library for manipulating Scratch project files
MIT License
54 stars 15 forks source link

toSb3: "change pen (color) by" errors out when serializing #97

Closed adroitwhiz closed 11 months ago

adroitwhiz commented 1 year ago

It looks like we name one input colorParam instead of COLOR_PARAM. I noticed this when trying to strictly type the Scratchblocks output for the strict TypeScript PR.

towerofnix commented 1 year ago

Oh wow, can you check if this makes rendering at least do anything (rather than black screen) in the project linked in leopard-js/leopard#162? It's possible it's unrelated, but this seems like the kind of mistake which would cause a block to unintentionally no-op without visible error.

adroitwhiz commented 1 year ago

Probably not--the Leopard export works but the SB3 export was broken.