Friday, December 3, 2010

Scratch Challenge 6

*Create a sprite whose motion is controlled by keyboard input (eg. Arrow keys) similar to that used in Tetris. The starting position on the X axis should be random, the Y axis position should be the top of the screen. The object is to steer the sprite towards a target.


Here I copied what was given to me but added the random position for x through the operator blocks.
I also set broadcasts for the messages of success and failure. The background would either say "You WIN" or "You LOSE".
I used the "surprise sprite" button to get my target and funnily i got a baseball man. I put that guy as the target and obviously it still works but looks funny.

No comments:

Post a Comment