Skip to content

Blockly

ThePix edited this page Jul 24, 2019 · 3 revisions

Blockly is a way to graphically represent JavaScript code, allowing the user to build a script kind of like building Lego. I am only just starting to look at this, and it looks like a great way forward, if I can incorporate it.

Blockly stores data in XML, so as a first step I have modified the project so everything is stored in XML, more like Quest 5. The editor would produce a JavaScript file for the game, but it will not be possible to read that back in (analogous to a .quest file, kind of).

Blockly

This is a version for React, so worth a try? https://github.com/mo4islona/mo4islona.github.io/tree/master/blockly

I tried to install Blockly using NPM, but got an error, so instead installed YARN, and used that.

npm install yarn --global
yarn add blockly

Clone this wiki locally