ScratchData LogoScratchData
Back to Paddle2SeeFixIt's profile

Variable Control

PAPaddle2SeeFixIt•Created March 18, 2010
Variable Control
2
1
166 views
View on Scratch

Description

Controls: Right Arrow - All letters return to home positions Space - Stamp A key - Clear This is not my project...I'm just trying to show how to control different behaviors using a variable. The stage now has scripts that control the variable called "Random Move". If Random Move is set to "Yes" the letters glide to random positions. If Random Move is set to something other than "Yes" they will not. So when the Right Arrow is pressed, the stage sets Random Move to "No" which turns off the random moves. Then, a broadcast is sent out to all the sprites "Go to home positions" which causes them to glide to their home positions. They wait there for a few seconds and then the random motion is turned back on by setting Random Move to "Yes"

Project Details

Project ID937047
CreatedMarch 18, 2010
Last ModifiedMarch 18, 2010
SharedMarch 18, 2010
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root