200 likes | 536 Views
O:ICTks3scratchscratch ExercisesCreating a Pong game. Creating pong in scratch. Learning objectives: To learn how to program Sensing via colour and sprite proximity. First Create the stage. Edit the background to create the out area. Now draw your two sprites.
E N D
O:\ICT\ks3\scratch\scratch Exercises\Creating a Pong game Creating pong in scratch Learning objectives: To learn how to program Sensing via colour and sprite proximity
On sprite to grab the instructions needed. Connect them up.
Begin start and stop command (make sure co-ordinates are right for top of your screen)
Change the direction by pulling point straight down Click the colour in touching colour and then click red band at bottom
To prevent ball going off side if screen set the if on edge bounce function
At this point your ball should move from left to right and your paddle (sprite 2) should move with your mouse
PLAY PONG • Extension activity • Try to make it a two player game by: • Editing background (red stripe at top) • Adding third sprit that moves using arrow buttons • Make sure ball sprite responds to paddle two
2nd activity • Try to use the same principle to develop pacman the game.