Friday, October 24, 2008

Challenge #2 on Scratch

This is the second challenge on scratch. The challenge was to create two sprites and have them move around the screen. When they touch, to have them stop. This was what i accomplished:



What happens here is that first i click the green arrow, to start off the scratch. next i told it to forever go in a direction and turn 3 degrees or another way in 3 degrees. I also told it to forever move 6 steps and if its on the edge to bounce of, if it is touching the bouncy ball, to stop everything.










this was my second sprite, the bouncy balls, movements:

when the green flag was clicked, i gave the same instructions as the first sprite, but started them off on a different position on the screen. i didnt need to tell this one to stop if it tocuhed the other object since i instructed the first sprite to stop ALL.

No comments: