Commit graph

15 commits

Author SHA1 Message Date
Christopher Willis-Ford
4be971fc97 style: fix lint 2023-12-15 18:24:11 -08:00
Karishma Chadha
b0fd92a705 fix(json-generator): fix issue with blocks referencing stage
blocks referencing stage weren't getting imported correctly in production code, preventing projects
that used them from loading at all (BSOD)

resolves #31
2019-01-31 16:26:36 -05:00
Karishma Chadha
c537ca618b fix: resolve issues with blocks referencing mouse, edge, and stage
resolves #1 and resolves #31
2018-12-25 12:55:06 -05:00
Karishma Chadha
89ec324122
Merge pull request #29 from kchadha/fix-sprite-z-index
fix: reverse order of stage's children to reflect sb2 z-index
2018-12-21 14:17:58 -05:00
Karishma Chadha
243a53f5da fix: fix sound md5s in generated sb2 json
This fixes an issue where the md5 in the sb2 json was not matching the md5 from the assets server.
This fix avoids encoding the sound data as a wav twice.
2018-12-21 13:56:27 -05:00
Karishma Chadha
7796ae2a65 fix: reverse order of stage's children to reflect sb2 z-index
fixes #5
2018-12-21 10:37:11 -05:00
Karishma Chadha
45ada26cb5 fix(json-generator): use real md5s in produced sb2 json
project validation was failing when trying to save a project originally from 1.4 as an sb3 because
the md5s in the produced sb2 file were not of the right format
2018-12-20 17:52:58 -05:00
Michael "Z" Goddard
8141e9f943
fix: remove src/index.js exports maintenance burden 2018-12-20 12:43:08 -05:00
Michael "Z" Goddard
9231957791
feat: export AssertionError and ValidationError
Add ValidationError to help distinguish between unrecoverable errors
while decoding an `.sb` file and encoding to Scratch 2 data.

Export AssertionError and ValidationError so users of the converter can
know when an error is from validating the Scratch 1 file (as in it
likely is not an Scratch 1 file) or from making sure the Scratch 1 file
data matches expected ranges (like not making memory buffers that are
too big).
2018-12-19 19:50:15 -05:00
Michael "Z" Goddard
3301550a8f
docs 2018-12-18 15:59:26 -05:00
Michael "Z" Goddard
565df73eed
convert .sb data into .sb2 json, pngs, and wavs 2018-12-18 13:40:34 -05:00
Michael "Z" Goddard
82a3e97ddc
decode squeak assets and create png and wav previews 2018-12-12 11:47:32 -05:00
Michael "Z" Goddard
52343cdaf4
collect Fields into FieldObjects and dereference links 2018-12-11 13:08:52 -05:00
Michael "Z" Goddard
61a611b979
decode and preview individual fields in .sb files 2018-12-10 12:49:15 -05:00
Michael "Z" Goddard
a4added08b
initialize dot files derived from scratch-vm 2018-12-05 13:58:36 -05:00