Discuss Scratch

VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

This is not a duplicate because this launches two blocks at once and not run a block with run without screen refresh.

Hi!
I am proposing an All at Once or Run in Parallel block. This block would be used to run two or more blocks at once.
If you are thinking that scrtips cannot be run together, only once, then please check the workaround.

Mockup

All at Once {

} :: control
or

Run in Parallel {

} :: control

Workaround

script
broadcast [hi v]

when I receive [hi v]
say [hi]

when I receive [hi v]
think [hi]

Scratch On!

Post rewritten on 26th February 2025

Last edited by VedanshS933 (Aug. 27, 2025 11:08:36)

RL1123
Scratcher
1000+ posts

All at Once/Run in Parallel Block

How exactly is this not a nice workaround? It literally performs the same function. And even if we were to ignore that, this is a duplicate.
VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

rayli1123 wrote:

How exactly is this not a nice workaround? It literally performs the same function. And even if we were to ignore that, this is a duplicate.

I am not going to use hundreds of blocks just to do that!
RL1123
Scratcher
1000+ posts

All at Once/Run in Parallel Block

VedanshS933 wrote:

rayli1123 wrote:

How exactly is this not a nice workaround? It literally performs the same function. And even if we were to ignore that, this is a duplicate.

I am not going to use hundreds of blocks just to do that!
Ah yes, this would add hundreds of blocks to your project, because of course, we use hundreds of custom blocks in every project. The workaround only is a block extra, so it wouldn't make a difference at all.

Last edited by RL1123 (Jan. 4, 2022 09:04:36)

Yellowsheep43
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month
VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Yellowsheep43 wrote:

Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month

For me it will make it cluttered
7salad3salad
Scratcher
1000+ posts

All at Once/Run in Parallel Block

VedanshS933 wrote:

Yellowsheep43 wrote:

Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month

For me it will make it cluttered
How would it be any more cluttered than if somebody else did it?
Virus6120
Scratcher
100+ posts

All at Once/Run in Parallel Block

rayli1123 wrote:

How exactly is this not a nice workaround? It literally performs the same function. And even if we were to ignore that, this is a duplicate.
heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.
VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Virus6120 wrote:

rayli1123 wrote:

How exactly is this not a nice workaround? It literally performs the same function. And even if we were to ignore that, this is a duplicate.
heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.

ok
vudeptrai090211
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Yellowsheep43 wrote:

Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month
I agree.
welcome back, forumer!
RL1123
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Virus6120 wrote:

heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.
How are run without screen refresh functions slow? They're literally the fastest thing that exists (on scratch), repeat loops don't even come close to how fast they are.

Last edited by RL1123 (Jan. 5, 2022 07:19:03)

Virus6120
Scratcher
100+ posts

All at Once/Run in Parallel Block

rayli1123 wrote:

Virus6120 wrote:

heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.
How are run without screen refresh functions slow? They're literally the fastest thing that exists (on scratch), repeat loops don't even come close to how fast they are.
Not running the function but calling the function.
Myst--
Scratcher
100+ posts

All at Once/Run in Parallel Block

No support. There is an easy workaround.
RL1123
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Virus6120 wrote:

rayli1123 wrote:

Virus6120 wrote:

heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.
How are run without screen refresh functions slow? They're literally the fastest thing that exists (on scratch), repeat loops don't even come close to how fast they are.
Not running the function but calling the function.
What? Are you talking about the use of the function itself or getting it from MyBlocks?
VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Ok, thanks, I'll close it

Thank ST for opening it again

Last edited by VedanshS933 (Feb. 10, 2022 10:14:06)

VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

Bring Up My Topic!
VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

7salad3salad wrote:

VedanshS933 wrote:

Yellowsheep43 wrote:

Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month

For me it will make it cluttered
How would it be any more cluttered than if somebody else did it?

Virus6120 wrote:

rayli1123 wrote:

Virus6120 wrote:

heres some insight: functions are slow slow in scratch, and that is an understatement

if you want your scratch code to run fast its often better to produce messy code just to optimize it.
How are run without screen refresh functions slow? They're literally the fastest thing that exists (on scratch), repeat loops don't even come close to how fast they are.
Not running the function but calling the function.

Please read the OP again
T0RRENT_
Scratcher
100+ posts

All at Once/Run in Parallel Block

Please explain.

VedanshS933 wrote:

So if you see the below posts you might get confused. So I'll explain it better. Really what I mean is to add an All at Once block in which 2 things will run at the same time not to make it fast. It'll be a Control Block. It will be helpful when you want to say and text to speech at the same time!

Scratch On!

PS : Not a Duplicate.

VedanshS933
Scratcher
1000+ posts

All at Once/Run in Parallel Block

T0RRENT_ wrote:

Please explain.

VedanshS933 wrote:

So if you see the below posts you might get confused. So I'll explain it better. Really what I mean is to add an All at Once block in which 2 things will run at the same time not to make it fast. It'll be a Control Block. It will be helpful when you want to say and text to speech at the same time!

Scratch On!

PS : Not a Duplicate.


Like if you put 2 blocks in the loop so they will run together instead of this the n that
T0RRENT_
Scratcher
100+ posts

All at Once/Run in Parallel Block

You mean just 2 custom blocks in a forever loop?

Powered by DjangoBB