Skip to content

Embedded IDE build 31 — Scratch for Java 6.2.0 and SaveData

Choose a tag to compare

@mikebarkmin mikebarkmin released this 14 Oct 18:39
782b941

This build adds portable SaveData<T> to the browser runtime. Games store public data fields as JSON in IndexedDB, with named save slots, caller-supplied defaults for missing slots, and catchable I/O errors. Failed writes preserve the previous save.

The new Coin Quest demo uses built-in assets and three save slots. Use the arrow keys to move, 1–3 to select a slot, S to save, L to load, and R to start a fresh round. Score and sprite positions survive a browser reload.

Includes matching Scratch for Java 6.2.0 catalogs and compatibility metadata (6.2.0-browser.1). Validated in the standard and NRW runtimes, including reloads, corrupt records, aborted transactions, cyclic data, and large arrays.