Control Block : All at Once // Put blocks in this loop and they run together
id: 569654
category: Suggestions
posts: 60
Jan 4, 2022 07:59:14
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
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
Mockups
If you want cap
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
Mockups
All at Once {} :: control
If you want cap
All at Once {} :: control cap
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
Jan 4, 2022 08:32:10
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
duplicate.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
I am not going to use hundreds of blocks just to do that!
Jan 4, 2022 08:34:24
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
RL1123
loading
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.duplicate.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
I am not going to use hundreds of blocks just to do that!
Jan 4, 2022 13:03:47
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Yellowsheep43
loading
Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month
Me returning to the forums after one month
Jan 4, 2022 13:11:27
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
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
Jan 4, 2022 13:51:14
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
7salad3salad
loading
How would it be any more cluttered than if somebody else did it?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
Jan 5, 2022 06:54:30
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Virus6120
loading
duplicate.heres some insight: functions are 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 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.
Jan 5, 2022 06:57:30
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
duplicate.heres some insight: functions are 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 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
Jan 5, 2022 06:59:14
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
vudeptrai090211
loading
I agree. Use a function and make it run without screen refresh. That simple.
Me returning to the forums after one month
welcome back, forumer!
Jan 5, 2022 07:18:48
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
RL1123
loading
slow slow in scratch, and that is an understatementHow 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. heres some insight: functions are
if you want your scratch code to run fast its often better to produce messy code just to optimize it.
Jan 6, 2022 12:00:19
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Virus6120
loading
Not running the function but calling the function.slow slow in scratch, and that is an understatementHow 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. heres some insight: functions are
if you want your scratch code to run fast its often better to produce messy code just to optimize it.
Jan 6, 2022 13:52:12
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Myst--
loading
No support. There is an easy workaround.
Jan 6, 2022 16:11:08
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
RL1123
loading
What? Are you talking about the use of the function itself or getting it from MyBlocks?Not running the function but calling the function.slow slow in scratch, and that is an understatementHow 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. heres some insight: functions are
if you want your scratch code to run fast its often better to produce messy code just to optimize it.
Jan 7, 2022 03:37:24
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
Ok, thanks, I'll close it
Thank ST for opening it again
Thank ST for opening it again
Feb 10, 2022 10:14:19
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
Bring Up My Topic!
Feb 10, 2022 11:43:40
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
How would it be any more cluttered than if somebody else did it?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
Not running the function but calling the function.slow slow in scratch, and that is an understatementHow 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. heres some insight: functions are
if you want your scratch code to run fast its often better to produce messy code just to optimize it.
Please read the OP again
Feb 10, 2022 11:50:37
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
T0RRENT_
loading
Please explain.
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.
Feb 10, 2022 12:20:50
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
Please explain.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
Feb 10, 2022 12:46:08
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
T0RRENT_
loading
You mean just 2 custom blocks in a forever loop?
Feb 10, 2022 14:42:56
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
10goto10
loading
The confusion is that Scratch used to have an All at Once block that was basically a copy of the Warp block in SNAP! It’s purpose was to make a script run at turbo speed. However,… 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!
I think what you want is to launch portions of subscripts in the same script.
This could let you run concurrent set of blocks without having to create additional names for custom blocks or broadcasts.
It also would let you make programs that were a little more compact (fewer broadcast names, custom names, variable names that tend after a while to clutter the block pallet.)
You might want to take a look at Snap. It’s free, very much like Scratch, and has some interesting features. https://snap.berkeley.edu/
Feb 11, 2022 07:41:17
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
The confusion is that Scratch used to have an All at Once block that was basically a copy of the Warp block in SNAP! It’s purpose was to make a script run at turbo speed. However,… 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!
I think what you want is to launch portions of subscripts in the same script.
This could let you run concurrent set of blocks without having to create additional names for custom blocks or broadcasts.
It also would let you make programs that were a little more compact (fewer broadcast names, custom names, variable names that tend after a while to clutter the block pallet.)
You might want to take a look at Snap. It’s free, very much like Scratch, and has some interesting features. https://snap.berkeley.edu/
I want that there will be a control block which will be All at Once and whatever you put in it will be running together
Scratch On!
Feb 11, 2022 11:24:55
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
T0RRENT_
loading
Why don't you say Scratch On in your signature?
Feb 11, 2022 15:43:33
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
JPJPMan
loading
broadcast [message v]Or
ask [Stuff?] and wait
when I receive [message v]
...
say [stuff]There are a lot of other work arounds, but these are the ones that came to my head
ask [Stuff?] and wait
say []
Feb 11, 2022 16:57:38
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
dertermenter
loading
Feb 11, 2022 17:22:37
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
10goto10
loading
It’s always good to define your terms.(#1)You can see here that the scratch team have closed all at once suggestions in the past in favour for that suggestion linked, so this is a duplicate.
PS : Not a Duplicate.
The suggestions you pointed to seem to be variations of the warp block that the Scratch Team called ‘all at once’ in the Scratch 2.0 beta. However, it looks like Ike the OP is suggesting a way to launch multiple subscripts at the same time in the same script, without the need to create multiple broadcast scripts. It’s true that this suggestion has re-used the name ‘all at once’ but I took it to mean ‘launch multiple blocks in the same frame, i.e. all at once’ in the same script. However, there might be a launch duplicate out there - I didn’t look for that.
Mar 8, 2022 06:52:35
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
It’s always good to define your terms.(#1)You can see here that the scratch team have closed all at once suggestions in the past in favour for that suggestion linked, so this is a duplicate.
PS : Not a Duplicate.
The suggestions you pointed to seem to be variations of the warp block that the Scratch Team called ‘all at once’ in the Scratch 2.0 beta. However, it looks like Ike the OP is suggesting a way to launch multiple subscripts at the same time in the same script, without the need to create multiple broadcast scripts. It’s true that this suggestion has re-used the name ‘all at once’ but I took it to mean ‘launch multiple blocks in the same frame, i.e. all at once’ in the same script. However, there might be a launch duplicate out there - I didn’t look for that.
Yeah, this is not a dupe anyways. It has been unclosed 2 times
———–
Bring Up My Topic!
Mar 8, 2022 13:25:35
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
10goto10
loading
Yeah, this is not a dupe anyways. It has been unclosed 2 times
I think that will keep happening unless you change your title to something like Control Block : Launch All at Once because the “All at once” block once existed and even though it did something else, it is mentioned in the list of rejected suggestions.
You’re not asking for warp speed. You’re asking for a way that one script could launch a glide while launching a forever look to check if a color has been touched and then stop the script (or any number of other commands or loops). It’s a way of putting several related stacks into one script to make it easier to read and to avoid having a bunch of “when I receive” hats. But right now, your suggestion will always be confused with the rejected “warp” block that was once called “all at once”.
Mar 8, 2022 13:47:53
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
7salad3salad
loading
cant you make broadcasts to do that?
broadcast [all at once1 v]
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
Mar 9, 2022 02:39:45
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
10goto10
loading
Yes, that is the Scratch way to do it. But that spreads out the set of launched scripts. It would improve readability if they were together in one script. It might also help with the logic of stopping a loop or a block if these launched blocks and sub-scripts were still considered part of the script that launched them. cant you make broadcasts to do that?
Launch all at once {
- {
glide (5) secs to x: (0) y: (0)
} :: control
- {
wait until <key [space v] pressed?>
stop [This script v]
} :: control
} end :: control
Ideally the
stop [ This Script v]would also stop the glide.
Mar 13, 2022 07:57:02
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
cant you make broadcasts to do that?broadcast [all at once1 v]
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
That's too annoying
Apr 4, 2022 19:51:43
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Jackson49_test
loading
Bump
Apr 14, 2022 03:55:15
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
Bump
Apr 14, 2022 04:31:50
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
doodleblues
loading
semi support ..
Cons | easy workaround, could be used to lead to intentionally crash projects
Pro | would be more efficient in some cases instead of Broadcast, when i receive(x3)
More cons than pros, but i think this is a really good idea
Cons | easy workaround, could be used to lead to intentionally crash projects
Pro | would be more efficient in some cases instead of Broadcast, when i receive(x3)
More cons than pros, but i think this is a really good idea
Apr 14, 2022 06:04:32
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
mbrick2
loading
Hacked block workaround .
Apr 14, 2022 06:15:58
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
Hacked block workaround .
That does not work
Apr 14, 2022 06:29:52
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
historical_supa
loading
This was in 2.0 alpha, but wonder why they removed. This would be better than just telling you to turn on turbo mode, though it could be workarounded with custom blocks with run without screen refresh checked. Just saying.
Apr 14, 2022 06:32:03
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
k0d3rrr
loading
Correct! According to the This was in 2.0 alpha, but wonder why they removed. This would be better than just telling you to turn on turbo mode, though it could be workarounded with custom blocks with run without screen refresh checked. Just saying.Scratch Wiki…
The block was removed later in the alpha version of Scratch 2.0; in the official release, custom blocks instead have an option entitled “run without screen refresh”, which runs the script faster.
Apr 14, 2022 06:33:34
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
historical_supa
loading
A question: what would happen if you added a wait block? Would it skip it? Same for repeat blocks and others.
Apr 14, 2022 07:24:06
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
A question: what would happen if you added a wait block? Would it skip it? Same for repeat blocks and others.
It will run it together so it will skip it
Apr 14, 2022 07:26:46
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
Silicobra
loading
Support, it sounds really nice and I'd want such a block!
Apr 14, 2022 07:42:21
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
historical_supa
loading
I thought so too. Just checkingA question: what would happen if you added a wait block? Would it skip it? Same for repeat blocks and others.
It will run it together so it will skip it
Apr 14, 2022 13:54:35
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
10goto10
loading
Well no. The suggestion in this topic is to run blocks in parallel. The badly named Scratch 2.0 feature (all at once) was created to run a set of blocks at “warp speed”. This was in 2.0 alpha, but wonder why they removed. …
If you go back a few posts you’ll see some mockups that I made of “launching” small scripts to run at the same time or “all at once”.
Apr 14, 2022 14:05:35
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
historical_supa
loading
Oh yeah.Well no. The suggestion in this topic is to run blocks in parallel. The badly named Scratch 2.0 feature (all at once) was created to run a set of blocks at “warp speed”. This was in 2.0 alpha, but wonder why they removed. …
If you go back a few posts you’ll see some mockups that I made of “launching” small scripts to run at the same time or “all at once”.
Jan 3, 2023 08:19:54
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
bump
Jun 9, 2023 11:48:58
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
BUMP
Jun 13, 2023 08:36:21
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
bump
Jun 22, 2023 12:41:02
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
bump
Jul 9, 2023 05:04:06
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
VedanshS933
loading
bump
Jul 9, 2023 11:26:02
Control Block : All at Once // Put blocks in this loop and they run together
view on scratch
view on legacy ocular
wikibro300000
loading
I still have no idea why not just use custom blocks.
If its messy, put all the customs in one place
Oh yh also came up with
If its messy, put all the customs in one place
Oh yh also came up with
define run without screen refresh script (script
if <<[script] = [1]>> then
Example
end