Pages

Friday, 23 September 2016

Merit - Technology


Scratch Tool - Script Name

What does the script look like?

What does the script do?

New Backdrop
Screen Shot 2016-09-23 at 9.07.51 AM.png
The step allows us to create our backdrop for our own Pong game
New sprite
Screen Shot 2016-09-23 at 9.10.54 AM.png
This allows us to choose a new sprite for our Pong Game
Movements
Screen Shot 2016-09-23 at 9.21.29 AM.png
When the green flag is clicked, the sprite (ball) will point in direction of 45 degrees, the sprite will forever move 15 steps, BUT, if the sprite touches the edge, it will bounce back
New Sprite (Paddle)
Screen Shot 2016-09-23 at 9.26.28 AM.png
This allows the sprite to move when the the green flag is clicked, it will forever move to where the mouse is pointing
Movements
Screen Shot 2016-09-23 at 9.31.01 AM.png
When the green flag is clicked, it will forever turn 180 degrees, IF sprite (Ball) touches the paddle, then wait 1 second
Sounds
Screen Shot 2016-09-23 at 9.51.00 AM.png
Screen Shot 2016-09-23 at 9.51.10 AM.png
This allows us to choose a sound to put in our Pong Game
Movement
Screen Shot 2016-09-23 at 10.13.57 AM.png
Screen Shot 2016-09-23 at 10.15.02 AM.png
When green flag is clicked, IF
the sprite hits the Purple line, GAME OVER! You start again
Score
Screen Shot 2016-09-23 at 10.17.45 AM.png
When green flag is clicked, when the ball hits the paddle the score changes by 1 point

No comments:

Post a Comment