4/13 - Using Broadcast to control game states
Submitted by JoshFishburn on Mon, 04/13/2009 - 7:34am
Use the following blocks, under "Control" to control how your game starts, ends, and changes:
- "broadcast" (create new message by clicking on the arrow)
- "when I receive" (choose which message by clicking on the arrow)
Use these to:
- Make a transition from the start screen to the gameplay
- Change the actions of one or more sprites based on an event that happens during gameplay
- Show a different background based on an event that happens in the gameplay (if the player wins or loses, for example)
| Attachment | Size |
|---|---|
| BroadcastExample.sb | 582.25 KB |
| SavetheDonut.sb | 515.42 KB |
»