m (Undo revision 263702 by Naleksuh (talk)|This block does exist, please don't change this)
Tag: Undo
(Undo revision 263789 by Scratcheur-2020Send (talk): it doesn't exist anymore, and S:BRD)
Tag: Undo
Line 1: Line 1:
 +
{{obsolete feature}}
 
{{block
 
{{block
 
|name      = All at Once
 
|name      = All at Once
Line 9: Line 10:
 
The '''All at Once''' [[Blocks|block]] was a [[Control Blocks|Control block]] and a [[C Block|C block]] that was introduced in the [[Scratch 2.0]] [[Development of Scratch 2.0#Alpha|alpha]]. It ran the blocks inside it [[Single Frame|atomically]]. It is based on the Warp block in [[Snap!]], and was originally called Warp Speed in Scratch as well. This block was planned to serve as a temporary [[Turbo Mode]] for designated scripts; using Turbo Mode, where the whole project gets ran faster, can cause timing issues, and it is often only needed for a couple of [[script]]s.
 
The '''All at Once''' [[Blocks|block]] was a [[Control Blocks|Control block]] and a [[C Block|C block]] that was introduced in the [[Scratch 2.0]] [[Development of Scratch 2.0#Alpha|alpha]]. It ran the blocks inside it [[Single Frame|atomically]]. It is based on the Warp block in [[Snap!]], and was originally called Warp Speed in Scratch as well. This block was planned to serve as a temporary [[Turbo Mode]] for designated scripts; using Turbo Mode, where the whole project gets ran faster, can cause timing issues, and it is often only needed for a couple of [[script]]s.
  
This block was removed later from the palette in the alpha version of Scratch 2.0; in the official release, [[Custom Blocks|custom blocks]] instead have a checkbox called "run without screen refresh", which runs the script faster. However, using this feature with a wait block may result in misbehaving code.
+
This block was removed later in the alpha version of Scratch 2.0; in the official release, [[Custom Blocks|custom blocks]] instead have a checkbox called "run without screen refresh", which runs the script faster. However, using this feature with a wait block may result in misbehaving code.
  
 
== Workaround ==
 
== Workaround ==
Line 22: Line 23:
 
all at once:: custom
 
all at once:: custom
 
</scratchblocks>
 
</scratchblocks>
== How to bring it back ==
 
This block can be found here : [https://scratch.mit.edu/projects/413190561/editor/ all at once in the "control" sprite]
 
  
 
== Example Uses ==
 
== Example Uses ==

Revision as of 16:27, 5 October 2020

Archive.png This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.
All at Once
All at once.png
Category Control
Type C
Introduced in 2.0 alpha
Removed in 2.0 alpha

The All at Once block was a Control block and a C block that was introduced in the Scratch 2.0 alpha. It ran the blocks inside it atomically. It is based on the Warp block in Snap!, and was originally called Warp Speed in Scratch as well. This block was planned to serve as a temporary Turbo Mode for designated scripts; using Turbo Mode, where the whole project gets ran faster, can cause timing issues, and it is often only needed for a couple of scripts.

This block was removed later in the alpha version of Scratch 2.0; in the official release, custom blocks instead have a checkbox called "run without screen refresh", which runs the script faster. However, using this feature with a wait block may result in misbehaving code.

Workaround

Because custom blocks now have the "run without screen refresh" option, this block can be recreated through a simple workaround:

define all at once
. . .

Then, use the custom block to run the script underneath the define "all at once" hat block above:

when gf clicked
all at once:: custom

Example Uses

This block can be used in some of the following ways:

  • Speeding up mathematical projects
  • Rendering 3D
  • Doing complicated calculations
  • Removing the lag in ordinary loop blocks such as Repeat ()

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.