Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » Guide to Modding Scratch 3.0
- BigNate469
-
Scratcher
1000+ posts
Guide to Modding Scratch 3.0
They should update the links so that they're not redirecting from the LLK pages anymore, and instead directly using the scratchfoundation links…
- MasonYayYay
-
Scratcher
39 posts
Guide to Modding Scratch 3.0
What if i just want to make dfalt scratch with less rolls for more creativity
HeHem my chat room giting band ):
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
If your new blog appears red and without text in the GUI, and you have added it in the scratch-blocks folder and built scratch-blocks, try following the Build steps below. That has always fixed this issue for me, although the cause is unknown. When I find the actual cause and the solution, this post will be updated.Look's like there's a little typo here…
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
My browser / operating system: Windows NT 10.0, Chrome 129.0.0.0, Flash 32.0 (release 0)
Running
from the
folder gives this error:
even after trying what the Wiki said.
Running
npm install
scratch-blocks
Could not find "java" in your PATH.
Using remote compiler: closure-compiler.appspot.com ...
Error: Closure not found. Read this:
developers.google.com/blockly/guides/modify/web/closure
npm error code 1
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[user]\AppData\Local\npm-cache\_logs\2024-10-03T09_00_29_238Z-debug-0.log
Last edited by gem1001 (Oct. 3, 2024 09:07:43)
- Mrcomputer1
-
Scratcher
500+ posts
Guide to Modding Scratch 3.0
My browser / operating system: Windows NT 10.0, Chrome 129.0.0.0, Flash 32.0 (release 0)One of the dependencies of scratch-blocks/Blockly uses Java, so you need Java installed.
Runningfrom thenpm installfolder gives this error:scratch-blockseven after trying what the Wiki said.Could not find "java" in your PATH.
Using remote compiler: closure-compiler.appspot.com ...
Error: Closure not found. Read this:
developers.google.com/blockly/guides/modify/web/closure
npm error code 1
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[user]\AppData\Local\npm-cache\_logs\2024-10-03T09_00_29_238Z-debug-0.log
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
Now it's saying:My browser / operating system: Windows NT 10.0, Chrome 129.0.0.0, Flash 32.0 (release 0)One of the dependencies of scratch-blocks/Blockly uses Java, so you need Java installed.
Runningfrom thenpm installfolder gives this error:scratch-blockseven after trying what the Wiki said.Could not find "java" in your PATH.
Using remote compiler: closure-compiler.appspot.com ...
Error: Closure not found. Read this:
developers.google.com/blockly/guides/modify/web/closure
npm error code 1
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[user]\AppData\Local\npm-cache\_logs\2024-10-03T09_00_29_238Z-debug-0.log
npm error code 2
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[USER]\AppData\Local\npm-cache\_logs\2024-10-04T06_23_15_501Z-debug-0.log
Last edited by gem1001 (Oct. 4, 2024 06:28:03)
- Mrcomputer1
-
Scratcher
500+ posts
Guide to Modding Scratch 3.0
Does it say anything else, or just that? Because, it seems to only say it failed and doesn't have an explanation for why it failed.Now it's saying:-snip-One of the dependencies of scratch-blocks/Blockly uses Java, so you need Java installed.npm error code 2
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[USER]\AppData\Local\npm-cache\_logs\2024-10-04T06_23_15_501Z-debug-0.log
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
It also saidDoes it say anything else, or just that? Because, it seems to only say it failed and doesn't have an explanation for why it failed.Now it's saying:-snip-One of the dependencies of scratch-blocks/Blockly uses Java, so you need Java installed.npm error code 2
npm error path E:\thing\scratch-blocks
npm error command failed
npm error command C:\windows\system32\cmd.exe /d /s /c python build.py && webpack
npm error A complete log of this run can be found in: C:\Users\[USER]\AppData\Local\npm-cache\_logs\2024-10-04T06_23_15_501Z-debug-0.log
ERROR in ./shim/blockly_compressed_horizontal.js
Module not found: Error: Can't resolve '../blockly_compressed_horizontal' in 'E:\thing\scratch-blocks\shim'
@ ./shim/blockly_compressed_horizontal.js 1:17-116
@ ./shim/blockly_compressed_horizontal.goog.js
@ ./node_modules/imports-loader?Blockly=../shim/blocks_compressed_horizontal-blockly_compressed_horizontal-messages,goog=../shim/blockly_compressed_horizontal.goog!./node_modules/exports-loader?Blockly!./msg/scratch_msgs.js
@ ./shim/horizontal.js
ERROR in ./shim/blockly_compressed_vertical.js
Module not found: Error: Can't resolve '../blockly_compressed_vertical' in 'E:\thing\scratch-blocks\shim'
@ ./shim/blockly_compressed_vertical.js 1:17-114
@ ./shim/blockly_compressed_vertical.goog.js
@ ./node_modules/imports-loader?Blockly=../shim/blocks_compressed_vertical-blockly_compressed_vertical-messages,goog=../shim/blockly_compressed_vertical.goog!./node_modules/exports-loader?Blockly!./msg/scratch_msgs.js
@ ./shim/vertical.js
The command line is too long.
UNKNOWN ERROR
The command line is too long.
UNKNOWN ERROR
SUCCESS: blockly_uncompressed_vertical.js
SUCCESS: blockly_uncompressed_horizontal.js
SUCCESS: blocks_compressed_horizontal.js
Size changed from 41 KB to 20 KB (50%).
blocks_vertical/vertical_extensions.js:55: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
return function() {
^^^^^^^^^^^^^^^^^^^
- Mrcomputer1
-
Scratcher
500+ posts
Guide to Modding Scratch 3.0
It also said-snipDoes it say anything else, or just that? Because, it seems to only say it failed and doesn't have an explanation for why it failed.andERROR in ./shim/blockly_compressed_horizontal.js
Module not found: Error: Can't resolve '../blockly_compressed_horizontal' in 'E:\thing\scratch-blocks\shim'
@ ./shim/blockly_compressed_horizontal.js 1:17-116
@ ./shim/blockly_compressed_horizontal.goog.js
@ ./node_modules/imports-loader?Blockly=../shim/blocks_compressed_horizontal-blockly_compressed_horizontal-messages,goog=../shim/blockly_compressed_horizontal.goog!./node_modules/exports-loader?Blockly!./msg/scratch_msgs.js
@ ./shim/horizontal.js
ERROR in ./shim/blockly_compressed_vertical.js
Module not found: Error: Can't resolve '../blockly_compressed_vertical' in 'E:\thing\scratch-blocks\shim'
@ ./shim/blockly_compressed_vertical.js 1:17-114
@ ./shim/blockly_compressed_vertical.goog.js
@ ./node_modules/imports-loader?Blockly=../shim/blocks_compressed_vertical-blockly_compressed_vertical-messages,goog=../shim/blockly_compressed_vertical.goog!./node_modules/exports-loader?Blockly!./msg/scratch_msgs.js
@ ./shim/vertical.jsThe command line is too long.
UNKNOWN ERROR
The command line is too long.
UNKNOWN ERROR
SUCCESS: blockly_uncompressed_vertical.js
SUCCESS: blockly_uncompressed_horizontal.js
SUCCESS: blocks_compressed_horizontal.js
Size changed from 41 KB to 20 KB (50%).
blocks_vertical/vertical_extensions.js:55: WARNING - Misplaced function annotation. This JSDoc is not attached to a function node. Are you missing parentheses?
return function() {
^^^^^^^^^^^^^^^^^^^
scratch-blocks tries to execute a command through the Windows Command Prompt that is too large for it. A simple fix is to change line 333 of build.py from this:
for group in [[CLOSURE_COMPILER_NPM], dash_args]:
for group in [["node", "node_modules/google-closure-compiler/cli.js"], dash_args]:
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
After runningsnip
scratch-blocks tries to execute a command through the Windows Command Prompt that is too large for it. A simple fix is to change line 333 of build.py from this:to this:for group in [[CLOSURE_COMPILER_NPM], dash_args]:This change makes the command not need to go through the Command Prompt.for group in [["node", "node_modules/google-closure-compiler/cli.js"], dash_args]:
npm run prepublish
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Program Files\python273\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "build.py", line 232, in run
self.gen_core(True)
File "build.py", line 261, in gen_core
[os.path.join("core", "blockly.js")])
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 243, in CalculateDependencies
ResolveDependencies(require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 308, in ResolveDependencies
raise Exception('Missing provider for (%s)' % require)
Exception: Missing provider for (Blockly.Workspace)
Last edited by gem1001 (Oct. 13, 2024 15:14:39)
- Mrcomputer1
-
Scratcher
500+ posts
Guide to Modding Scratch 3.0
I'm not sure what that error means. Have you been able to make other changes to scratch-blocks or is this another thing that is preventing the base scratch-blocks from working?snipAfter runningit saysnpm run prepublishException in thread Thread-4:
Traceback (most recent call last):
File "C:\Program Files\python273\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "build.py", line 232, in run
self.gen_core(True)
File "build.py", line 261, in gen_core
[os.path.join("core", "blockly.js")])
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 243, in CalculateDependencies
ResolveDependencies(require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 308, in ResolveDependencies
raise Exception('Missing provider for (%s)' % require)
Exception: Missing provider for (Blockly.Workspace)
- realmasterlevi
-
Scratcher
83 posts
Guide to Modding Scratch 3.0
So we can use custom blocks and things that easily allow us to do stuff like: access api’s,Things to Know Before StartingYou're telling me Scratch modding exists? But why?Install (If you Haven't Already)
- JavaScript: Scratch 3 is almost entirely written in JavaScript. You should be familiar with JavaScript to mod Scratch 3.
- React, HTML, and CSS: Scratch 3 uses the JavaScript library React. If you're interested in modding the UI, you should be familiar with React, HTML, and CSS.
- NPM or Yarn: Although it's not necessary to understand NPM or Yarn to Mod Scratch 3, as this post shows the commands you need to use, for more advanced mods that aren't explained in this post, understanding NPM or Yarn will be helpful.
Get Started
- Git: Git allows you to clone the Scratch 3 code and then (if you want) upload it to your own repository that you can share with others on Scratch.
- NodeJS: NodeJS is a tool for running JavaScript code in the command line, and includes a package manager, NPM. NPM will allow you to install dependencies, and open Scratch 3 in a browser.
- NPM or Yarn: NPM and Yarn are package managers that use the same database of packages. Use whichever you prefer.
- Code Editor: Although theoretically, you could create a Scratch 3 mod in Notepad, it's much easier with a code editor such as Visual Studio Code, Atom, Notepad++, or the many others available online.
- Python: Scratch Blocks' build tool uses Python. If your mod adds new blocks, you'll need Python. Scratch Blocks is incompatible with Python 3.x. Use Python 2.x instead.
Create a new folder for your mod.
Scratch 3.0 is designed in a modular way.
Image From Scratch-GUI Wiki
Every part is a different repository on GitHub.
As you add more functionality to your mod, your folder you just created will contain each component. For example, your mod may look like this:scratch_mod
scratch-gui
project.json
src
...
scratch-blocks
project.json
src
...
scratch-vm
project.json
src
...
Here are the components and links to their repositories:Most mods will only require modifications to Scratch GUI, Scratch Blocks, and Scratch VM.
- Scratch GUI - The GUI for Scratch 3.
- Scratch Blocks - The Blocks interface for Scratch 3, based on Google's Blockly. This allows you to add or remove blocks.
- Scratch VM - Running the Scratch 3 project. This allows you to add or change functions of any blocks.
- Scratch Render - Renders the Scratch 3 project in WebGL.
- Scratch Paint - The Vector Editor for Scratch 3.
- Scratch Audio - The Audio Engine for making noise in Scratch 3.
- Scratch Storage - Loading and Storing projects and assets in Scratch 3.
- Scratch SVG Renderer - Handles “quirks” of Scratch 2 SVGs.
Scratch GUI
From your new folder, run the commandInstall all the dependencies usinggit clone https://github.com/llk/scratch-gui
cd scratch-guiornpm installTo open the GUI in a browser, runyarn installornpm startAnd open localhost:8601 in your browser.yarn start
Scratch Blocks
From the folder you created at the start of this post (NOT scratch-gui, but its parent folder), runInside scratch-blocks, rungit clone https://github.com/llk/scratch-blocks
cd scratch-blocksornpm installLink it to your GUI so that your changes to scratch-blocks are reflected in the GUI by running the commandyarn installornpm linkAnd then, from the scratch-gui folder, runyarn linkornpm link scratch-blocksThis removes the original scratch-blocks dependency inside scratch-gui and replaces it with a reference to your scratch-blocks folder.yarn link scratch-blocks
To add or change a block, open the blocks_vertical folder.
Open the file for the type of block you want to add or change (for example, motion.js)
A block looks like this:If you're adding a new block, open msg/messages.js and add a label for the block with the same name you used in the block. For example, here's a move 100 steps block:Blockly.Blocks['motion_movesteps'] = { /** * Block to move steps. * @this Blockly.Block */ init: function() { this.jsonInit({ "message0": Blockly.Msg.MOTION_MOVESTEPS, "args0": [ { "type": "input_value", "name": "STEPS" } ], "category": Blockly.Categories.motion, "extensions": ["colours_motion", "shape_statement"] }); } };And in msg/messages.js:// motion.js Blockly.Blocks['motion_move100steps'] = { /** * Block to move 100 steps. * @this Blockly.Block */ init: function() { this.jsonInit({ "message0": Blockly.Msg.MOTION_MOVE100STEPS, "category": Blockly.Categories.motion, "extensions": ["colours_motion", "shape_statement"] }); } };To add the block to the GUI, or change its location or default values, open scratch-gui/src/make-toolbox-xml.js and add the block somewhere in the tree. Example:Blockly.Msg.MOTION_MOVE100STEPS = 'move 100 steps'; // Place the block with other blocks from the category!Once you've changed or added a block, build Scratch Blocks by running<!-- Move 100 Steps Block --> <block type="motion_move100steps" /> <!-- Move X Steps Block --> <block type="motion_movesteps"> <value name="STEPS"> <shadow type="math_number"> <field name="NUM">2</field> </shadow> </value> </block>ornpm run prepublishIf you get an error on this step, it is probably because Scratch Blocks' compiler uses a Python library that does not work on Windows. There are a few solutions:yarn prepublishThis issue should not affect Linux or Mac users.
- Run the command from a Bash Terminal, such as the one that comes with Git on Windows, or in a Windows Subsystem for Linux environment.
- Use the online version of the compiler: If Java is not available, the online version of the compiler will be run. You can temporarily deactivate Java without uninstalling it by temporarily removing it from the path.
If your new blog appears red and without text in the GUI, and you have added it in the scratch-blocks folder and built scratch-blocks, try following the Build steps below. That has always fixed this issue for me, although the cause is unknown. When I find the actual cause and the solution, this post will be updated.
Scratch VM
From the folder you created at the start of this post (NOT scratch-gui, but its parent folder), runinside scratch-vm, rungit clone https://github.com/llk/scratch-vm
cd scratch-vmornpm installLink it to your GUI so that your changes to scratch-vm are reflected in the GUI by running the commandyarn installornpm linkAnd then, from the scratch-gui folder, runyarn linkornpm link scratch-vmThis removes the original scratch-blocks dependency inside scratch-gui and replaces it with a reference to your scratch-blocks folder.yarn link scratch-vm
To change the way a block works open the section's file under src/blocks. For example, for a motion block, open src/blocks/scratch3_motion.js.
Find the function for the block you want to change. For example, to change Move Steps, findTo make a sprite move 100 times the amount of steps you entered, change the function tomoveSteps (args, util) { const steps = Cast.toNumber(args.STEPS); const radians = MathUtil.degToRad(90 - util.target.direction); const dx = steps * Math.cos(radians); const dy = steps * Math.sin(radians); util.target.setXY(util.target.x + dx, util.target.y + dy); }If you have scratch-gui open in your browser, refresh the page, and see the sprite move much farther than before!moveSteps (args, util) { const steps = Cast.toNumber(args.STEPS*100); const radians = MathUtil.degToRad(90 - util.target.direction); const dx = steps * Math.cos(radians); const dy = steps * Math.sin(radians); util.target.setXY(util.target.x + dx, util.target.y + dy); }
To add functionality for a new block, open the file for the category the block is in. For example, for a motion block, open src/blocks/scratch3_motion.js. In the function getPrimitives, add an entry for the name you used in Scratch Blocks (for example, motion_move100steps) and map it to a new function. for example, with the motion_move100steps block:Refresh Scratch-GUI in your browser and try it out!class Scratch3MotionBlocks { getPrimitives () { return { motion_move100steps: this.move100Steps, // Other Blocks }; }; // Other Functions move100Steps (args, util) { const steps = 100; const radians = MathUtil.degToRad(90 - util.target.direction); const dx = steps * Math.cos(radians); const dy = steps * Math.sin(radians); util.target.setXY(util.target.x + dx, util.target.y + dy); } }
Building and Releasing
To build Scratch 3, in your Scratch-GUI folder, runornpm run buildThen, open the folder build inside Scratch-GUI, and open the index.html file in your browser. You should see your Scratch 3 mod running.yarn build
You can upload the contents of build to whatever hosting service you want (GitHub Pages, Firebase Hosting, etc), or your own server, and share your mod on Scratch!
Have easier 3d
Not be restricted to scratches rules (I’m talking to you pen****mod and sn***ide)
To have more cool blocks
And etc.
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
I added an exponent blockI'm not sure what that error means. Have you been able to make other changes to scratch-blocks or is this another thing that is preventing the base scratch-blocks from working?snipAfter runningit saysnpm run prepublishException in thread Thread-4:
Traceback (most recent call last):
File "C:\Program Files\python273\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "build.py", line 232, in run
self.gen_core(True)
File "build.py", line 261, in gen_core
[os.path.join("core", "blockly.js")])
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 243, in CalculateDependencies
ResolveDependencies(require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 308, in ResolveDependencies
raise Exception('Missing provider for (%s)' % require)
Exception: Missing provider for (Blockly.Workspace)
- 8to16
-
Scratcher
1000+ posts
Guide to Modding Scratch 3.0
I added an exponent blockdoes it do anything or is it just like clicking it but no tooltip appears (and if you put it through a say block, it says “undefined”)
- gem1001
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
Its that I get this error when runningI added an exponent blockdoes it do anything or is it just like clicking it but no tooltip appears (and if you put it through a say block, it says “undefined”)
npm run prepublish
Exception in thread Thread-4:
Traceback (most recent call last):
File "C:\Program Files\python273\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "build.py", line 232, in run
self.gen_core(True)
File "build.py", line 261, in gen_core
[os.path.join("core", "blockly.js")])
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 243, in CalculateDependencies
ResolveDependencies(require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 308, in ResolveDependencies
raise Exception('Missing provider for (%s)' % require)
Exception: Missing provider for (Blockly.Workspace)
- BabyBellaBoor
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
HEY MAN YOU DO REALIZE YOU CAN COMBINE DESTOP AND MOBILE PROJECTSIts that I get this error when runningI added an exponent blockdoes it do anything or is it just like clicking it but no tooltip appears (and if you put it through a say block, it says “undefined”):npm run prepublishException in thread Thread-4:
Traceback (most recent call last):
File "C:\Program Files\python273\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "build.py", line 232, in run
self.gen_core(True)
File "build.py", line 261, in gen_core
[os.path.join("core", "blockly.js")])
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 243, in CalculateDependencies
ResolveDependencies(require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 314, in ResolveDependencies
ResolveDependencies(sub_require, search_hash, result_list, seen_list)
File "node_modules\google-closure-library\closure\bin\calcdeps.py", line 308, in ResolveDependencies
raise Exception('Missing provider for (%s)' % require)
Exception: Missing provider for (Blockly.Workspace)
- BigNate469
-
Scratcher
1000+ posts
Guide to Modding Scratch 3.0
HEY MAN YOU DO REALIZE YOU CAN COMBINE DESTOP AND MOBILE PROJECTSAnd how is that related?
- pacjaxy12345
-
Scratcher
12 posts
Guide to Modding Scratch 3.0
i will make changes to it like this
and a changes to the names of the catergoys. this is awesome thanks!
Repeat (10) {
} :: #000000
When Flag Clicked Do :: #000000 hat
Forever{
} :: cap #000000and a changes to the names of the catergoys. this is awesome thanks!
- GamerDAC
-
Scratcher
100+ posts
Guide to Modding Scratch 3.0
(long unnecessary quote removed by moderator - please don't spam)
if you're still alive can u answer this question: do i have to use github or can i just use my terminal?
if you're still alive can u answer this question: do i have to use github or can i just use my terminal?
Last edited by Paddle2See (March 5, 2025 01:05:31)
- Discussion Forums
- » Advanced Topics
-
» Guide to Modding Scratch 3.0










