Revision as of 15:45, 7 May 2013 by Blob8108 (talk | contribs) (Remove {{unreleased}})

Start Scene ()
Start scene.png
Category Events
Type Stack
Introduced in 2.0

The Start Scene () block is an Event block and a Stack block. It functions identically to the Switch to Scene () block, but the latter block is only available to the Stage, while this is for all sprites. This block is also similar to Broadcast (), because they both fire a user-driven event to start an action.

Workaround

Main article: List of Block Workarounds

Due to the fact that the Switch to Scene () block works identically, this block can simply be replaced with the other.

switch to scene [scene1 v]

Example Uses

  • Starting a level
start scene [level1 v] // in a start button
when scene [level1 v] starts //in a sprite
go to x:(0) y:(0)
  • A game over message
start scene [game over v]
when scene [game over v] starts
hide
  • Simply changing scenes
start scene [scene2 v]

See Also

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