Willow - Introduction to scratch.pptx

Introduction to Scratch

Block based coding

1 / 22
volgende
Slide 1: Slide
newEditorComputingLower Secondary (Key Stage 3)

In deze les zitten 22 slides, met interactieve quizzen en tekstslides.

Dit is niet oké

Onderdelen in deze les

Introduction to Scratch

Block based coding

My expectations

It’s ok to be wrong

Understanding ‘why’ learning about computers is important!

Cold calling: Creating a culture of answering questions.

‘Listen’ when someone else is talking.

Next half term

Variables

Selection (if statements)

Iteration (loops)

Lists

Game design

Today’s lesson

Learning about the PRIMM model

Introduction to Scratch

What would this program do to this character?

What would this program do to this character?

It would move forwards then turn right.

Recall

Remember repeat blocks?


We can move in a square by repeating these instructions four times.

PREDICT - What do you think this code will do?

SCRATCH

RUN - Did the code run as you expected?


INVESTIGATE

  1. Which Scratch block category would you use for loops?


INVESTIGATE



  1. What does the forever block do?


INVESTIGATE

3.Why do you think the forever block is used in this game?



INVESTIGATE

1.Which Scratch block category would you use for loops?


2.What does the forever block do?


3.Why do you think the forever block is used in this game?


4.What’s happening in this game?

MODIFY

Take a few minutes to look at the code.


Amend the program so that;


  1. The fish can be controlled up and down as well as left and right.

 

  1. Add a starfish character that the fish eats.

MODIFY

Controlling the fish



  1. Here you need to add two if statements.


  2. So that the 'y' axis changes when you press the up and down arrows.



MODIFY

Controlling the starfish/octopus


The starfish has a simple job to do, avoid getting caught!


We do this by getting it to glide randomly around the stage.


Did you add up and down controls?

A

Yes

B

No

Did you add a starfish and the code to the game?

A

Yes

B

No

MAKE

Make a new version of the game the involves different theme but is still a 'cat and mouse’ game.


Did you make a new game?

A

Yes

B

No