An example extension for Xcratch
This extension add extra-block "do it", that executes string in its input field as a sentence in Javascript and return the result.
Play Example Project to look at what you can do with "Jibungoto Planet" extension.
<iframe src="https://xcratch.github.io/editor/player#https://naoji3x.github.io/xcx-jibungoto/projects/example.sb3" width="540px" height="460px"></iframe>This extension can be used with other extension in Xcratch.
- Open Xcratch Editor
- Click 'Add Extension' button
- Select 'Extension Loader' extension
- Type the module URL in the input field
https://naoji3x.github.io/xcx-jibungoto/dist/jibungotoPlanet.mjs
Run register script to install this extension on the local Xcratch for testing.
npm run register
Run build script to bundle this extension into a module file which could be loaded on Xcratch.
npm run build
Open this page from https://naoji3x.github.io/xcx-jibungoto/
Contributions, issues and feature requests are welcome!
Feel free to check issues page.