Discuss Scratch

VedanshS933
Scratcher
1000+ posts

Control Block : All at Once // Put blocks in this loop and they run together

If we put 2 or more blocks in this loop it will run the loop. For example if I put a Text to Speech and Say block it would do together! If text to speech and say get over then it will exit the loop and do next code

Mockup

All at Once {

} :: control
Scratch On!

PS : Not a Duplicate because this launches two blocks at once but that will make it go at turbo speed like run without screen refresh function in custom blocks

Last edited by VedanshS933 (Jan. 16, 2025 14:29:45)

RL1123
Scratcher
1000+ posts

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

Bring Up My Topic!
VedanshS933
Scratcher
1000+ posts

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

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

Control Block : All at Once // Put blocks in this loop and they run together

You mean just 2 custom blocks in a forever loop?

Powered by DjangoBB