Coding Level 1 Term 2 - Stimuzone...Coding Level 1 Term 2 6 Learners have to animate both sprites....

7
www.stimuzone.co.za Head Office: 082 564 3608 / [email protected] Directors: L. Pretorius & I. Pretorius Coding Level 1 Term 2 Page1 Coding Level 1 Term 2

Transcript of Coding Level 1 Term 2 - Stimuzone...Coding Level 1 Term 2 6 Learners have to animate both sprites....

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e1

Coding Level 1 Term 2

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e2

Lesson : Introduction to Scratch Learning Outcome : Block- based interactive coding Skills : Add a backdrop Choose the correct event Animate a sprite Teaching Aids : Scratch Cards pdf Program : Scratch2 Offline Editor

Time Allocation : 1 period

Lesson Plan :

With Scratch, learners can program their own interactive stories, games, and animations.Scratch helps learners to think creatively, reason systematically, and work collaboratively.

Open the program Scratch. Learners will learn how to animate a sprite. A sprite can be an object

or a character. We will start with the character that has already been chosen, the Scratch cat.

Now we have to add a backdrop to our project. Click on the New Backdrop option and choose the Blue Sky backdrop then click on Ok.

Learners have to use scripts to animate their sprite. There are many categories to choose from. Start with the Events category, this will determine when your sprite does the animation. Click on the When sprite clicked button and drag it to the open space on the right side of the page. This means that your sprite will do what you coded when you click on it.

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e3

Learners must now add a Motion to the sprite. Click on the Motion category, click on the Move

10 steps button and drag it to the coding area. You will see that ten steps don’t move the sprite very much. Change the 10 inside of the block to 50 steps, click on your sprite and then he will move forward.

Let the learners animate the sprite to make a sound. Click on the Sound category, click on the Play sound meow button, drag it to your coding area and then click on the sprite. You will see that whenever your sprite takes 50 steps he will make the ‘meow’ sound.

Let the learners make the sprite change colour whenever it moves. Click on the Looks category, click on the Change color effect by 25 button, drag it to your coding area and then click on your sprite. Your sprite will change color every time you click on it.

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e4

Your final block – based coding for this lesson will only consist of

four blocks.

Assessment

Assessment

Add a backdrop 10

Choose the correct event 10

Animate a sprite 10

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e5

Lesson : Two Sprites Learning Outcome : Block- based interactive coding Skills : Add a backdrop Choose the correct event Animate three sprites Teaching Aids : Scratch Cards pdf Program : Scratch2 Offline Editor

Time Allocation : 1 period

Lesson Plan :

With Scratch, learners can program their own interactive stories, games, and animations.Scratch helps learners to think creatively, reason systematically, and work collaboratively.

Open the program Scratch. Add a backdrop to the project. Click on the New Backdrop option and choose the Desert backdrop then click on

Ok.

Learners will now choose two sprites and have them interact with each other. We can use the sprite that has already been chosen, the Scratch cat. To add a sprite click on the New sprite option, click on Butterfly3 then click on Ok. Learners must change the size of the sprite, click on Butterfly3, click on the shrink option above all of the categories then click on the sprite until it is smaller than the cat.

Shrink

option

New Sprite

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e6

Learners have to animate both sprites. Start by clicking on the first sprite, the cat. 1. Learners must click on the Event category, click on the When green flag clicked

then drag it to your coding are.

2. Learners must now make the character say ‘Hello’ Click on the Looks category, click on the Say hello for 2 seconds button and drag it to the coding area.

3. Now learners must animate the cat making a sound. Click on the Sound category, click on the Play sound

meow button and drag it to the coding area.

4. Learners must now add a Motion to the sprite. Click on the Motion category, click on the Move 10 steps button and drag it to the coding area. Change the 10 inside of the block to 50 steps, click on your sprite and then he will move forward.

www.stimuzone.co.za Head Office: 082 564 3608 / [email protected]

Directors: L. Pretorius & I. Pretorius

Coding Level 1 Term 2

Pag

e7

Learners must now animate the second sprite. Click on the butterfly in the sprite menu. 1. Learners must click on the Event category, click on the When green flag clicked

then drag it to your coding area.

2. Learners must add a motion to the sprite. Click on the Motion category, click on the Go to mouse pointer button, click on the drop down arrow and change the option to random position. Your sprite will then move to a random position on the page whenever you click on the green flag.

The final block-based coding for both sprites will look like the following:

Assessment

.Assessment

Add a backdrop 10

Choose the correct event 10

Animate two sprites 10