GithubHelp home page GithubHelp logo

lsprandel / scratch-microbit-more Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yokobond/scratch-microbit-more

0.0 0.0 0.0 136.68 MB

Another micro:bit extension for Scratch3.

License: MIT License

Shell 2.32% JavaScript 97.35% HTML 0.33%

scratch-microbit-more's Introduction

This project moved to a new repository yokobond/mbit-more-v2.

scratch-microbit-more

Version Documentation Maintenance License: MIT

Full-functional extension of micro:bit for Scratch3

โœจ Open Microbit More Web-App

๐Ÿ  Homepage

Setup Development Environment

Download the Scratch3 repositories according to the supporsed directory configuration.

.
|-- scratch-microbit-more
|-- scratch-vm
|-- scratch-gui

Install node modules and setup to use local repo for development.

cd ./scratch-microbit-more
npm install
npm run setup:local
npm run install:local

Install into Scratch3

To install this extention into your selfbuild Scratch3, execute scripts/install.js with options as follows.

node ./scripts/install.js --gui="../scratch-gui" --vm="../scratch-gui/node_modules/scratch-vm" --url="https://yokobond.github.io/scratch-microbit-more/dist/microbitMore.mjs"
  • --gui : location of scratch-gui from current dir.
  • --vm : location of scratch-vm form current dir.
  • --url : URL to get its module as a lodable extension for Xcratch.

CAUTION: This script will change 'extension default' in scratch-gui/src/lib/libraries/extensions/index.jsx as follows.

change from the original code

export default [...];

to

const extensions = [...];
export default extensions;

It may break installation mechanism of the other extensions.

Xcratch Module Building

Build module as loadable extension for Xcratch.

node ./scripts/build.js --name=microbitMore --block="./src/block" --entry="./src/entry" --vm="../scratch-vm" --gui="../scratch-gui" --output="./dist"
  • --name: name of the module file (without '.mjs').
  • --block : location of block files from current dir.
  • --entry : location of entry files from current dir.
  • --gui : location of scratch-gui from current dir.
  • --vm : location of scratch-vm form current dir.
  • --output : location to save module form current dir.

Author

๐Ÿ‘ค Koji Yokokawa

๐Ÿค Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page. You can also take a look at the contributing guide.

Show your support

Give a โญ๏ธ if this project helped you!

๐Ÿ“ License

Copyright ยฉ 2020 Koji Yokokawa.
This project is MIT licensed.


This README was generated with โค๏ธ by readme-md-generator

scratch-microbit-more's People

Contributors

ericrosenbaum avatar kchadha avatar paulkaplan avatar tmickel avatar evhan55 avatar yokobond avatar thisandagain avatar mzgoddard avatar rschamp avatar fsih avatar knandersen avatar picklesrus avatar greenkeeper[bot] avatar cwillisf avatar towerofnix avatar griffpatch avatar thebrokenrail avatar gnarf avatar ktbee avatar hyperobject avatar chrisgarrity avatar kenny2github avatar joker314 avatar khanning avatar apple502j avatar sillyinventor avatar sjhuang26 avatar morantsur avatar greenkeeperio-bot avatar technoboy10 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.