Year 5 Summer Term Computing - Programming We are going to continue using Scratch … ·...

Post on 25-Jul-2020

1 views 0 download

transcript

Year 5 Summer Term – Computing - Programming

We are going to continue using Scratch and continue the project saved on your own

online Scratch account from the previous lesson.

Use the same link to access Scratch: https://scratch.mit.edu/

We will stop and save our project again this week when we have completed this stage.

Follow the slides in order, reading each one of them carefully.

Have fun!

LO: To create a sprite with movement.

Last time we created our own scrolling background like the one the bird flies through. The

bird has to be kept in the air by continually tapping a key otherwise it will drop to the

ground. In this lesson we are going to create our flying sprite and give it movement to make

it move up and down.

We are continuing our project based on the

game ‘Flappy Bird’.

Log in to your online

Scratch account.

Open your saved project

from the previous lesson.

Click on the folder icon to

open ‘My Stuff’.LO: To create a sprite with movement.

Click on ‘See inside’ to open

your project.

LO: To create a sprite with movement.

Click choose a sprite.

LO: To create a sprite with movement.

Click on

animals.

LO: To create a sprite with movement.

Click on

Cat

Flying.

LO: To create a sprite with movement.

The Cat Flying sprite will

appear in this side of the

screen on the game board.

LO: To create a sprite with movement.

Move the cat to the centre

of the board so that it is

heading toward the middle of

your obstacles.

LO: To create a sprite with movement.

Reduce the size of the cat so

that it will fit between the

gap in your obstacles.

OR

You can increase the gap in

your obstacles – look at the

next slide to do this.

You can do both!

LO: To create a sprite with movement.

Click on the obstacle sprite here.

LO: To create a sprite with movement.

Click each one and use the rubber

to make a bigger gap.

LO: To create a sprite with movement.

Return to the cat sprite as we are

going to create some code to make

it move.

Drag and drop in these

codes from events, control

and motion:

• when flag clicked

• forever

• change y by . . .

Change this number to -2.

Negative numbers will make

the cat go down.

LO: To create a sprite with movement.

Now drag and drop in these

codes from control, sensing

and motion:

• if . . . then

• key . . . pressed?

• change y by . . .

Change this number to 20.

Positive numbers will make

the cat go up.

LO: To create a sprite with movement.

Click on File, Save

Now to save this

lessons progress.

Your project is

now saved and

named ready for

lesson 4!

LO: To create a sprite with movement.