Download presentation
Presentation is loading. Please wait.
Published byHarry Moody Modified over 9 years ago
1
Geometry
2
The screen where you can see what happens when you play your game is called the STAGE. The SCRIPT BANK is where the types of instructions are stored. The SPRITES are where you store and select the STAGE and COSTUMES SCRIPTS AREA is where you put your instructions The SCRIPT BLOCKS are where the instructions of what your SPRITES can do !
3
Project 3 – Pong
4
What will we learn? How to make a two player game How to make a ball bounce off a bat How to create a scoring zone Use the operator block to create random numbers for the ball movement
5
Create two paddle sprites Use sprite paint editor rectangle shape to draw a paddle sprite
6
Create a ball sprite Use sprite paint editor circle shape to draw a ball sprite
7
Make the ball move Set the ball off in a random direction.
8
Make the ball move Set the ball off in a random direction.
9
Make the blue paddle move Control the blue sprite with the w and s keys
10
Make the blue paddle move Control the blue sprite with the w and s keys
11
Make the red paddle move Control the red sprite with the up and down arrow keys
12
Make the red paddle move Control the red sprite with the up and down arrow keys
13
Make the ball bounce off the red paddle If the ball touches the red paddle pick a random direction away from the red paddle
14
Make the ball bounce off the red paddle If the ball touches the red paddle pick a random direction away from the red paddle
15
Make the ball bounce off the blue paddle If the ball touches the blue paddle pick a random direction away from the blue paddle
16
Make the ball bounce off the blue paddle If the ball touches the blue paddle pick a random direction away from the blue paddle
17
What next? We need to make a scoring system How are the players going to score
18
Create 2 scoring zones Draw a thin blue scoring line behind the blue paddle and a thin red scoring line behind the red paddle. Use different colours to the paddles.
19
Create 2 variables for the scores Create the variables and move them to sensible positions
20
Create 2 variables for the scores Create the variables and move them to sensible positions
21
Increment the scores Increase the cores by one when the ball touches the score zone. You also need to move the ball back to the centre to start a new turn.
22
What next? Reset the scores to zero at the start of each game. End the game when a player has reached a certain score
23
Set the scores to zero at the start of the game Set the scores to zero when the green flag is clicked.
24
Set the scores to zero at the start of the game Set the scores to zero when the green flag is clicked.
25
End the game when a player has reached a certain score Use the operator with a variable and a number of your choice to end the game.
26
End the game when a player has reached a certain score Use the operator with a variable and a number of your choice to end the game.
27
Ideas for starters Look at the game on the board/screens Identify the things you will need to create to play the game Identify what each thing needs to do Find 5 examples of Sprites you could use for your game. How do you plan to edit these sprites/make different costumes for them? List 3 features of good game design Identify an audience for your game
28
Ideas for plenaries What alterations have you made already? How would you make the game child friendly? How would you make the game appeal more to adults? What did you find easy about making the game? What did you find challenging about making the game? What advice would you give to a student just starting to make the game for the first time? How could you improve your game? Look at the scratch cards in the Scratch ideas folder. Create a scratch card for an action in scratch that you have learned today.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.