SharpScratchMod / SharpScratchMod.github.io

Sharp Scratch Mod Website & Online Editor!
http://SharpScratchMod.github.io
2 stars 1 forks source link

Question about Sharp #4

Closed AmazingMech2418 closed 6 years ago

AmazingMech2418 commented 6 years ago

How did you make this? I'm thinking about converting some of the blocks to be in a Scratch extension. I'll give credit though.

Mrcomputer1 commented 6 years ago

We made this by forking Scratch's source code (LLK/scratch-flash) and modifying it. The source for this Scratch mod is located at SharpScratchMod/Sharp. The code for our blocks can be found at https://github.com/SharpScratchMod/Sharp/tree/master/src/primitives (Note: code for Scratch's blocks are also there).

If you do convert some of the blocks please comment the link to it so I can have a look.

Also, sorry for the late reply.

AmazingMech2418 commented 6 years ago

I meant how do the blocks work. I could probably convert the actionScript to JS, but don't know the actionScript code since my computer can only run and not view the code.

Mrcomputer1 commented 6 years ago

The ActionScript code for our blocks can be found at https://github.com/SharpScratchMod/Sharp/tree/master/src/primitives (except for blocks like for each and code section, which are located in the interpreter). If you need help finding a block you can ask me.

AmazingMech2418 commented 6 years ago

Thank you!