Scratch Script Save

A toolchain to make scratch project using a special coding language without drag any thing.

Project README

ScratchScriptKit

Licence Github Github Package Version Package Version NPM

Code feature is in alpha statement, . But others (sprites or stage definition) are finished.

A toolchain to make scratch project without drag any thing.

ScratchScript Example:

var direction = 0;
when events.flagClicked() {
    looks.sayFor('Hello ScratchScript!', 3);
    forever {
        direction = 1;
        repeat (10) {
            motion.changeY(5 * direction);
        }
        if (direction == 1) {
            direction = -1;
        } else {
            direction = 1;
        }
    }
}

Chinese 中文 English
API Refenerce

English document is in progress (:P)

Installation

> npm i scratch-script -g

Development

We recommend you to use Yarn to setup the environment, npm also works.

> yarn
> yarn start

This will start webpack dev server, then you can access http://localhost:8040/playground/ to the playground (only for debug).

Usage

> ssc --help
Usage: ssc [options] <dir>

Options:
  -v, --version              output the version number
  -o, --output <outputpath>  specify an output project file path
  -h, --help                 display help for command
Open Source Agenda is not affiliated with "Scratch Script" Project. README Source: Steve-xmh/scratch-script
Stars
33
Open Issues
2
Last Commit
2 weeks ago
License

Open Source Agenda Badge

Open Source Agenda Rating