Discuss Scratch

Boomer001
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Darsh1994 wrote:

Hi! Is anyone know how can I change the blocks category name( eg. change “motion” category name to “movement” )? how to remove some blocks? and add a custom blocks with custom shape?
I think i found out how to that all. Somewhere in here. You can find it in the
path/to/scratch-gui/node_modules/scratch-blocks/blocks_vertical
folder. It has everything of the blocks, you can remove the blocks and the shapes can be changed in this file:
path/to/scratch-gui/node_modules/scratch-blocks/core/block_render_svg_vertical.js

My GitHub | My website | My profile


WOOHOO! I have reached the 1000+ post count!
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Boomer001 wrote:

Darsh1994 wrote:

Hi! Is anyone know how can I change the blocks category name( eg. change “motion” category name to “movement” )? how to remove some blocks? and add a custom blocks with custom shape?
I think i found out how to that all. Somewhere in here. You can find it in the
path/to/scratch-gui/node_modules/scratch-blocks/blocks_vertical
folder. It has everything of the blocks, you can remove the blocks and the shapes can be changed in this file:
path/to/scratch-gui/node_modules/scratch-blocks/core/block_render_svg_vertical.js
Removing blocks is done in scratch-gui, as I explained here.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Darsh1994
New to Scratch
14 posts

Guide to Modding Scratch 3.0

Hello thanks for your support so far, it was very helpful

Can you please tell me how can I change the shape of the blocks? so far I know I can change the shape of custom block using “extensions” option. What I want is…

1) Is there any way? where I can use the blocks shape which are present on google blockly?
2) So far I can get the available shapes on scratch from its source code. is there any documentation about all the shapes available in Scratch?

Thanks again
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Darsh1994 wrote:

Hello thanks for your support so far, it was very helpful

Can you please tell me how can I change the shape of the blocks? so far I know I can change the shape of custom block using “extensions” option. What I want is…

1) Is there any way? where I can use the blocks shape which are present on google blockly?
2) So far I can get the available shapes on scratch from its source code. is there any documentation about all the shapes available in Scratch?

Thanks again
I don't know documentation about adding blocks to Scratch. I already mentioned “shape_statement”, “output_string”, “output_number” and “output_boolean”. As you can see in this file there is also “shape_hat” and “shape_end”. For more customization that these built-in shapes offer, you need to edit block's JSON manually: see Blockly documentation.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

I have a problem: scratch-blocks don't build correctly. I'm on Windows and every time I try to open the GUI with my modified scratch-blocks, it prints an error to the console saying
goog.isString is not a function

With the default scratch-blocks it works fine. This didn't happen before and I didn't change the code, so I guess I'm doing something wrong. How can I fix it?

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Boomer001
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Maximouse wrote:

I have a problem: scratch-blocks don't build correctly. I'm on Windows and every time I try to open the GUI with my modified scratch-blocks, it prints an error to the console saying
goog.isString is not a function

With the default scratch-blocks it works fine. This didn't happen before and I didn't change the code, so I guess I'm doing something wrong. How can I fix it?
this? (not sure if it helps)

My GitHub | My website | My profile


WOOHOO! I have reached the 1000+ post count!
R4356th
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

This happened to me while cloning:
E:\Radman's File\Git>git clone https://github.com/llk/scratch-gui
Cloning into ‘scratch-gui’…
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (42/42), done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading, errno 0
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

E:\Radman's File\Git>cd scratch-gui
What can I do?

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Helpful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Remix this!
R Advertising™

If you found something offensive in my posts, I am so sorry for that.
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

R4356th wrote:

This happened to me while cloning:
E:\Radman's File\Git>git clone https://github.com/llk/scratch-gui
Cloning into ‘scratch-gui’…
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (42/42), done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading, errno 0
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

E:\Radman's File\Git>cd scratch-gui
What can I do?
Try again tomorrow - that worked for me
Seriously.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Boomer001 wrote:

this? (not sure if it helps)
Yes, it looks like this is the solution.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
thr565ono
Scratcher
100+ posts

Guide to Modding Scratch 3.0

Hi.
If you want to do basic Mods without coding, and use Google Chrome, there are about 10 on the chrome web store!

I am the creator of Code Snippets, a Scratch studio. You can see lots of useful things to add to your project to make it even better.
Also, please check out Touch The Ball

Darsh1994
New to Scratch
14 posts

Guide to Modding Scratch 3.0

How can I add more categories scratch?

So far I know how to change the categories name, change color and text of blocks. So please tell me How can I add more categories to scratch? I want the default scratch categories and blocks + I want to add more categories to gui where I will create my custom blocks functionalities

MikeDEV
Scratcher
100+ posts

Guide to Modding Scratch 3.0

(Oops: I posted this in the wrong forum, my bad…)

Last edited by MikeDEV (April 22, 2020 17:24:55)


MikeDEV - Software, art and more! Check out my studio!
WebWars-OFFICIAL
Scratcher
3 posts

Guide to Modding Scratch 3.0

I managed to make a glitched block all in scratch (no notepad) by creating a custom block named %m. I forgot some of the steps I took to create it, but I managed to created a glitched shadow block of a set variable block, but when I duplicated it, it created a
set [ i] to []
with a grayed out string input and the variable “i” wasn't even one of my variables that I had at the time. Anyone know why?
Boomer001
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Visual Studio Code has a build in terminal (click terminal above). You can use that terminal for this (i tried it out myself).

My GitHub | My website | My profile


WOOHOO! I have reached the 1000+ post count!
R4356th
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Is it possible to create a GitHub Pages publishable website for my mod just by modding Scratch GUI?

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Helpful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Remix this!
R Advertising™

If you found something offensive in my posts, I am so sorry for that.
R4356th
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Maximouse wrote:

R4356th wrote:

This happened to me while cloning:
E:\Radman's File\Git>git clone https://github.com/llk/scratch-gui
Cloning into ‘scratch-gui’…
remote: Enumerating objects: 56, done.
remote: Counting objects: 100% (56/56), done.
remote: Compressing objects: 100% (42/42), done.
error: RPC failed; curl 56 OpenSSL SSL_read: error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading, errno 0
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

E:\Radman's File\Git>cd scratch-gui
What can I do?
Try again tomorrow - that worked for me
Seriously.
Okay.

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Helpful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Remix this!
R Advertising™

If you found something offensive in my posts, I am so sorry for that.
Maximouse
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

R4356th wrote:

Is it possible to create a GitHub Pages publishable website for my mod just by modding Scratch GUI?
Yes. First, if you already have a scratch-gui clone that isn't a fork, turn it into a fork.
Then commit any changes, make sure you're on the correct branch and run
npm run deploy -- -e master
(replace master with the name of the branch you're on). This should publish your mod to GitHub Pages.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Boomer001
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Maximouse wrote:

R4356th wrote:

Is it possible to create a GitHub Pages publishable website for my mod just by modding Scratch GUI?
Yes. First, if you already have a scratch-gui clone that isn't a fork, turn it into a fork.
Then commit any changes, make sure you're on the correct branch and run
npm run deploy -- -e master
(replace master with the name of the branch you're on). This should publish your mod to GitHub Pages.
You don't have to choose a branch. You can run
npm run deploy
(without any branch) too. Also, there is a documentation on how to do publish it to github pages.

My GitHub | My website | My profile


WOOHOO! I have reached the 1000+ post count!
R4356th
Scratcher
1000+ posts

Guide to Modding Scratch 3.0

Boomer001 wrote:

Maximouse wrote:

R4356th wrote:

Is it possible to create a GitHub Pages publishable website for my mod just by modding Scratch GUI?
Yes. First, if you already have a scratch-gui clone that isn't a fork, turn it into a fork.
Then commit any changes, make sure you're on the correct branch and run
npm run deploy -- -e master
(replace master with the name of the branch you're on). This should publish your mod to GitHub Pages.
You don't have to choose a branch. You can run
npm run deploy
(without any branch) too. Also, there is a documentation on how to do publish it to github pages.
Thanks to both of you.

Q/A Regarding the Suggestions Category & Why Some Suggestions Got Rejected
List of Scratch Modifications And Other Block-Based Programming Languages
Helpful Converters to Help You With Conversion
Workarounds for Blocks Scratch Does Not Have
Scratch Translator SDS Translator Scratch Wiki Editor(Test (English and Bengali)& English) Writer Microsoft Dev 1000+ posts
The Scratch Movie Collaboration Thread Remix this!
R Advertising™

If you found something offensive in my posts, I am so sorry for that.

Powered by DjangoBB

Standard | Mobile