m
m (fixed an error i made myself, whoops.)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
{{block
 
{{block
 
| name      = Start Scene ()
 
| name      = Start Scene ()
| image      = File:Start scene.png
+
| image      = start scene ( v) :: events
 
| category  = [[Event Blocks|Events]]
 
| category  = [[Event Blocks|Events]]
 
| type      = [[Stack Block|Stack]]
 
| type      = [[Stack Block|Stack]]
 
| added      = 2.0 Alpha
 
| added      = 2.0 Alpha
 
| removed    = 2.0 Alpha
 
| removed    = 2.0 Alpha
 +
| sb = 2.0
 
}}
 
}}
 
The '''Start Scene ()''' [[Blocks|block]] was an [[Event Blocks|Event block]] and a [[Stack Block|Stack block]]. This block was similar to [[Broadcast ()]], because they both fired a user-driven event to start an action. The broadcast block was available for all sprites, while its alternative, Switch to Scene () which was only available for the stage. They have both been replaced by {{b|Switch Backdrop to ()}} which is available for all sprites and the stage.
 
The '''Start Scene ()''' [[Blocks|block]] was an [[Event Blocks|Event block]] and a [[Stack Block|Stack block]]. This block was similar to [[Broadcast ()]], because they both fired a user-driven event to start an action. The broadcast block was available for all sprites, while its alternative, Switch to Scene () which was only available for the stage. They have both been replaced by {{b|Switch Backdrop to ()}} which is available for all sprites and the stage.
Line 28: Line 29:
 
{{Events Blocks}}
 
{{Events Blocks}}
 
{{Removed Blocks}}
 
{{Removed Blocks}}
[[Category:Event Blocks]][[Category:Scratch 2.0]]
+
[[Category:Scratch 2.0]]

Latest revision as of 14:06, 24 March 2021

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.
Start Scene ()
start scene ( v) :: events
Category Events
Type Stack
Introduced in 2.0 Alpha
Removed in 2.0 Alpha

The Start Scene () block was an Event block and a Stack block. This block was similar to Broadcast (), because they both fired a user-driven event to start an action. The broadcast block was available for all sprites, while its alternative, Switch to Scene () which was only available for the stage. They have both been replaced by Switch Backdrop to () which is available for all sprites and the stage.

Workaround

Due to the fact that the Switch to Scene () block worked identically to the broadcast block, the block could simply be replaced with the other. However, Switch to Scene () was only available for the stage so one had to have:

On the sprite:

broadcast [switch to scene meadow v]

On the stage:

when I receive [switch to scene meadow v]
switch backdrop to [meadow v]

See Also

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