geometry. the screen where you can see what happens when you play your game is called the stage. the...

28
Geometry

Upload: harry-moody

Post on 05-Jan-2016

215 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Geometry. 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

Geometry

Page 2: Geometry. 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

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!

Page 3: Geometry. 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

Project 3 – Pong

Page 4: Geometry. 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

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

Page 5: Geometry. 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

Create two paddle sprites

Use sprite paint editor rectangle shape to draw a paddle sprite

Page 6: Geometry. 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

Create a ball sprite

Use sprite paint editor circle shape to draw a ball sprite

Page 7: Geometry. 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

Make the ball move

Set the ball off in a random direction.

Page 8: Geometry. 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

Make the ball move

Set the ball off in a random direction.

Page 9: Geometry. 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

Make the blue paddle move

Control the blue sprite with the w and s keys

Page 10: Geometry. 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

Make the blue paddle move

Control the blue sprite with the w and s keys

Page 11: Geometry. 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

Make the red paddle move

Control the red sprite with the up and down arrow keys

Page 12: Geometry. 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

Make the red paddle move

Control the red sprite with the up and down arrow keys

Page 13: Geometry. 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

Make the ball bounce off the red paddle

If the ball touches the red paddle pick a random direction away from the red paddle

Page 14: Geometry. 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

Make the ball bounce off the red paddle

If the ball touches the red paddle pick a random direction away from the red paddle

Page 15: Geometry. 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

Make the ball bounce off the blue paddle

If the ball touches the blue paddle pick a random direction away from the blue paddle

Page 16: Geometry. 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

Make the ball bounce off the blue paddle

If the ball touches the blue paddle pick a random direction away from the blue paddle

Page 17: Geometry. 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

What next?

We need to make a scoring system

How are the players going to score

Page 18: Geometry. 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

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.

Page 19: Geometry. 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

Create 2 variables for the scores

Create the variables and move them to sensible positions

Page 20: Geometry. 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

Create 2 variables for the scores

Create the variables and move them to sensible positions

Page 21: Geometry. 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

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.

Page 22: Geometry. 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

What next?

Reset the scores to zero at the start of each game.

End the game when a player has reached a certain score

Page 23: Geometry. 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

Set the scores to zero at the start of the game

Set the scores to zero when the green flag is clicked.

Page 24: Geometry. 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

Set the scores to zero at the start of the game

Set the scores to zero when the green flag is clicked.

Page 25: Geometry. 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

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.

Page 26: Geometry. 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

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.

Page 27: Geometry. 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

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

Page 28: Geometry. 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

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.