(Sorry, i can't ref it, but i heard it directly from Lightnin.)
m
Line 7: Line 7:
 
|type      = [[C Block|C]]
 
|type      = [[C Block|C]]
 
|added      = 2.0 alpha
 
|added      = 2.0 alpha
|removed    = 2.0 late alpha
+
|removed    = 2.0 alpha
 
}}
 
}}
 
The '''all at once''' block is a [[Control Blocks|Control block]] and a [[C Blocks|C block]]. It runs 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 may replace a separate turbo mode, as it is better for the programmer to set turbo speed themselves, and most of the time turbo speed is only needed for a couple [[scripts]].
 
The '''all at once''' block is a [[Control Blocks|Control block]] and a [[C Blocks|C block]]. It runs 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 may replace a separate turbo mode, as it is better for the programmer to set turbo speed themselves, and most of the time turbo speed is only needed for a couple [[scripts]].

Revision as of 22:53, 18 September 2012

Clock.png This article or section contains information about a feature from a future version of Scratch that is unreleased and is subject to change. Please cite any additional info in order to prevent speculation.


Document.png Please expand this article or section. You can help by adding more information if you are an editor. More information might be found in a section of the talk page. (Date?)
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 is a Control block and a C block. It runs 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 may replace a separate turbo mode, as it is better for the programmer to set turbo speed themselves, and most of the time turbo speed is only needed for a couple scripts.

This block will not make the final release of Scratch 2.0; procedures will instead have a checkbox to run in atomic speed, much the same as Snap! does.

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
Cookies help us deliver our services. By using our services, you agree to our use of cookies.