Discuss Scratch

ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

Can we have advanced blocks so that its much easier to make complex projects on scratch
Za-Chary
Scratcher
1000+ posts

Is it possible to have advanced blocks in scratch

What sorts of advanced blocks would you like to see?
girlwithalltheroses
Scratcher
5 posts

Is it possible to have advanced blocks in scratch

I think blocks like a jump block, or a C block that runs everything at the same time, and a walk in direction () for () steps would be really cool.
kosjalp
Scratcher
50 posts

Is it possible to have advanced blocks in scratch

Za-Chary wrote:

What sorts of advanced blocks would you like to see?
Maybe something like “elif” in python or a simpler “else if” for younger people
medians
Scratcher
1000+ posts

Is it possible to have advanced blocks in scratch

kosjalp wrote:

Za-Chary wrote:

What sorts of advanced blocks would you like to see?
Maybe something like “elif” in python or a simpler “else if” for younger people
Already suggested
https://scratch-mit-edu.ezproxyberklee.flo.org/discuss/topic/21733
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

girlwithalltheroses wrote:

I think blocks like a jump block, or a C block that runs everything at the same time, and a walk in direction () for () steps would be really cool.
Thats a great idea. I am hoping for blocks that are easy to use for advanced pepole. aka pepole who want to expand their project without any confusion
ametrine_
Scratcher
1000+ posts

Is it possible to have advanced blocks in scratch

girlwithalltheroses wrote:

I think blocks like a jump block, or a C block that runs everything at the same time, and a walk in direction () for () steps would be really cool.
jump block: this is already fairly easy to code
c block that runs everything at the same time: you can do this by creating a custom block with the “run without screen refresh” option on
walk in direction () for () steps: you can do this:
set [old direction v] to (direction)
point in direction (...)
move (...) steps
point in direction (old direction)

Last edited by ametrine_ (Dec. 14, 2024 17:20:43)

Scratch_Fakemon
Scratcher
63 posts

Is it possible to have advanced blocks in scratch

Scratch is a platform for kids to learn to code. These kids would be confused with advanced blocks, such as the for loops found in some programming languages that need 3 inputs rather than the 1 most loops have. However, if the advanced blocks are things that most people can understand and something that doesn't already have an easy workaround, that could work!

A for loop could work like this:
set [variable v] to () until <> and increment [variable v] by (1) and run code  { 
} :: control

This seems pretty complex, so instead Scratch you could do this:
when green flag clicked
set [variable v] to ()
forever
if <not <>> then
...
change [variable v] by (1)
end
end
This would do about the same thing with existing blocks.

A better addition, however, could be this:
show text box with text [Hello!] at [bottom v] :: looks
This would show a text box at the bottom of the screen. It's like the Say block, but with more control. The text box would be similar to text boxes found in video games (especially RPGs) like Undertale.
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

Scratch_Fakemon wrote:

Scratch is a platform for kids to learn to code. These kids would be confused with advanced blocks, such as the for loops found in some programming languages that need 3 inputs rather than the 1 most loops have. However, if the advanced blocks are things that most people can understand and something that doesn't already have an easy workaround, that could work!

A for loop could work like this:
set [variable v] to () until <> and increment [variable v] by (1) and run code  { 
} :: control

This seems pretty complex, so instead Scratch you could do this:
when green flag clicked
set [variable v] to ()
forever
if <not <>> then
...
change [variable v] by (1)
end
end
This would do about the same thing with existing blocks.

A better addition, however, could be this:
show text box with text [Hello!] at [bottom v] :: looks
This would show a text box at the bottom of the screen. It's like the Say block, but with more control. The text box would be similar to text boxes found in video games (especially RPGs) like Undertale.

If advanced blocks were added to sctratch that doesnt mean its going to be harder for kids to learn not always
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

Scratch_Fakemon wrote:

Scratch is a platform for kids to learn to code. These kids would be confused with advanced blocks, such as the for loops found in some programming languages that need 3 inputs rather than the 1 most loops have. However, if the advanced blocks are things that most people can understand and something that doesn't already have an easy workaround, that could work!

A for loop could work like this:
set [variable v] to () until <> and increment [variable v] by (1) and run code  { 
} :: control

This seems pretty complex, so instead Scratch you could do this:
when green flag clicked
set [variable v] to ()
forever
if <not <>> then
...
change [variable v] by (1)
end
end
This would do about the same thing with existing blocks.

A better addition, however, could be this:
show text box with text [Hello!] at [bottom v] :: looks
This would show a text box at the bottom of the screen. It's like the Say block, but with more control. The text box would be similar to text boxes found in video games (especially RPGs) like Undertale.

the advanced block intergratation would require alot of work to make sure its easy for kids to learn like you said,
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

Also advanced blocks will mean that fewer code actually needs to be used
BigNate469
Scratcher
1000+ posts

Is it possible to have advanced blocks in scratch

Scratch_Fakemon wrote:

set to () until <> and increment by (1) and run code {
} :: control

That is a massive block, and not really necessary considering that you can just do
set [variable v] to [number]
repeat until <... :: grey>
...
change [variable v] by (1)
end
and that the for loop block actually exists, although it's hidden in the editor (you have to hack it in).
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

BigNate469 wrote:

Scratch_Fakemon wrote:

set to () until <> and increment by (1) and run code {
} :: control

That is a massive block, and not really necessary considering that you can just do
set [variable v] to [number]
repeat until <... :: grey>
...
change [variable v] by (1)
end
and that the for loop block actually exists, although it's hidden in the editor (you have to hack it in).

I accidentaly reported you I think. anyways there is a loop forever block that does the same thing and doesnt need to be hacked in but bsides the point. I just want a way of making complex programs with fewer code
BendyOl183
Scratcher
500+ posts

Is it possible to have advanced blocks in scratch

Scratch_Fakemon wrote:

Scratch is a platform for kids to learn to code. These kids would be confused with advanced blocks, …
Personally, I think it's better to have more advanced blocks to help kids move on to more advanced subjects in programming, if you wanna pursue a career in coding then it's a good idea to move on to more advanced things.
ahan113
Scratcher
18 posts

Is it possible to have advanced blocks in scratch

BendyOl183 wrote:

Scratch_Fakemon wrote:

Scratch is a platform for kids to learn to code. These kids would be confused with advanced blocks, …
Personally, I think it's better to have more advanced blocks to help kids move on to more advanced subjects in programming, if you wanna pursue a career in coding then it's a good idea to move on to more advanced things.
I agree with this statement. kids wouldnt learn advanced coding if scratch only had basic coding

Powered by DjangoBB