ikyih / scratch-blocks

Home Page:https://turbowarp.github.io/scratch-blocks/tests/vertical_playground_compressed.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TurboWarp/scratch-blocks

Playgrounds

Local development

Requires Node.js (16 or later), Python (2 or 3), and Java. It is known to work in these environments but should work in many others:

  • Windows 10, Python 3.12.1 (Microsoft Store), Node.js 20.10.0 (nodejs.org installer), Java 11 (Temurin-11.0.21+9)
  • macOS 14.2.1, Python 3.11.6 (Apple), Node.js 20.10.0 (installed manually), Java 21 (Temurin-21.0.1+12)
  • Ubuntu 22.04, Python 3.10.12 (python3 package), Node.js 20.10.0 (installed manually), Java 11 (openjdk-11-jre package)

Install dependencies:

npm ci

Open tests/vertical_playground.html in a browser for development. You don't need to rebuild compressed versions for most changes. Open tests/vertical_playground_compressed.html instead to test if the compressed versions built properly.

To re-build compressed versions, run:

npm run prepublish

scratch-gui development server must be restarted to update linked scratch-blocks.

About

https://turbowarp.github.io/scratch-blocks/tests/vertical_playground_compressed.html

License:GNU General Public License v3.0


Languages

Language:JavaScript 95.3%Language:HTML 2.4%Language:Python 1.9%Language:Shell 0.3%Language:Ruby 0.0%