Because every student should have the opportunity to learn how to code

User Tools

Site Tools


lev4:act_pong_s

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lev4:act_pong_s [2015/03/10 16:53]
jbschafer
lev4:act_pong_s [2015/10/15 11:20] (current)
jbschafer
Line 4: Line 4:
  
 =====Introduction===== =====Introduction=====
-In this activity you will create a basic game game.+In this activity you will create a basic pong game.
  
  
Line 11: Line 11:
  
 =====Instructions===== =====Instructions=====
-  - Open up a new program area in Scratch or begin by remixing our Pong Starter program.+  - Open up a new program area in Scratch or begin by remixing our [[https://​scratch.mit.edu/​projects/​51757178/#​editor|Pong Starter]] program.
   - If you are creating this program completely on your own:   - If you are creating this program completely on your own:
          * Add a sprite for a ball that will be bouncing around on the screen\\ {{..:​pongBallStarter.png}}          * Add a sprite for a ball that will be bouncing around on the screen\\ {{..:​pongBallStarter.png}}
          * Add a sprite for the goal position a the end of the maze.\\ {{..:​pongPaddleStarter.png}}          * Add a sprite for the goal position a the end of the maze.\\ {{..:​pongPaddleStarter.png}}
-         * To get started, paint a backdrop ​that a solid colored ​ball along the bottom of the screen.\\ ​ {{..:​pongStageStarter.png}}+         * To get started, paint a backdrop ​with a solid colored ​bar along the bottom of the screen.\\ ​ {{..:​pongStageStarter.png}}
          * Put them all together so you have a simple pong game showing.\\ {{..:​pongComplete.png}}          * Put them all together so you have a simple pong game showing.\\ {{..:​pongComplete.png}}
   - If you are using our sample starter code, take a look at what we have for these features.   - If you are using our sample starter code, take a look at what we have for these features.
   - Add one of the the following code samples to the paddle so that it can respond to the user's controls. so that it knows to start the game in it's starting location when the green flag is pressed.\\ {{..:​mazeToStart.png}}\\ ​   - Add one of the the following code samples to the paddle so that it can respond to the user's controls. so that it knows to start the game in it's starting location when the green flag is pressed.\\ {{..:​mazeToStart.png}}\\ ​
   - Add the following code to the ball so that the player can move the ball around the maze.\\ {{..:​pongMouseCode.png}}\\ \\ {{..:​pongKeyboardCode.png}}   - Add the following code to the ball so that the player can move the ball around the maze.\\ {{..:​pongMouseCode.png}}\\ \\ {{..:​pongKeyboardCode.png}}
-  - Add the following code to the ball to have it move around the screen when the game starts\\ {{..:pongBallMovmement.png}}\\ ​+  - Add the following code to the ball to have it move around the screen when the game starts\\ {{..:pongBallMovement.png}}\\ ​
   - Add the following code to the ball to have it bounce off the paddle.\\ {{..:​pongBallBounce.png}}\\ ​   - Add the following code to the ball to have it bounce off the paddle.\\ {{..:​pongBallBounce.png}}\\ ​
   - Add the following code to the ball to have it detect that it has missed the paddle and is on the bottom of the screen.\\ {{..:​pongBallDead.png}}\\ ​   - Add the following code to the ball to have it detect that it has missed the paddle and is on the bottom of the screen.\\ {{..:​pongBallDead.png}}\\ ​
lev4/act_pong_s.1426024409.txt.gz ยท Last modified: 2015/03/10 16:53 by jbschafer