The challenge was to get the sprite to glide across the screen and if it hit the edge, to bounce off and change directions.
This was my outcome:

What is happening here is that first i click the green arrow, to start off the scratch. next i told it to repeat the following motions 1Otimes.
I told it to glide to a particular position on the screen, then if it hit the edge bounce.
Next i told to go to another position etc.
I instructed it to go to 5 different positions and repeat the steps 1Otimes then it stopped after it finshed the very last move.
No comments:
Post a Comment