Discuss Scratch

maxsaturn3000
Scratcher
1 post

A New C-Block

I don't know about you, but I think it would be really nice if there was a simpler way to perform more than one action at the same time. It's really hard to get two or more things to happen at the same time in the same sprite. You need to have two lines of code that both start when something happens, and then you need to use wait blocks and such to get the timing just right so that two things happen at the same time, like this:

when green flag clicked
go to x: (0) y: (0)
say [Hello!] for (2) secs
glide (3) secs to x: (50) y: (0)
when green flag clicked
wait (2) secs
repeat (24)
turn cw (15) degrees
wait (0.1) secs
end

It would be much easier if there was a block in the control category that allowed more than one action to be performed at once. Call it a perform simultaneously block, a run parallel block, or whatever you want to call it, but I think it would be pretty cool if you could more easily make your character move and spin at the same time. Check out this project to see an example of a run parallel/perform simultaneously block:

https://scratch-mit-edu.ezproxyberklee.flo.org/projects/1137684613/

BendyOl183
Scratcher
500+ posts

A New C-Block

Pretty sure this is a duplicate of this topic
cloverfly
Scratcher
100+ posts

A New C-Block

instead of adding more scripts to it you could do this:
run simultaneously {
code :: motion
} and {
run simultaneously {
code :: sound
} and {
code :: looks
} :: control
} :: control

BendyOl183 wrote:

Pretty sure this is a duplicate of this topic
that topic is about a block like a run without screen refresh block, this topic is about a block that can run 2 pieces of code at once
trolley_explodes
Scratcher
100+ posts

A New C-Block

run{

} and {

} simultaneously:: control

Powered by DjangoBB