Raspberry_Pi_Education_Manual

Notes:

Lesson 1.2: Moving sprites

Learning objective: In this exercise, you will learn how to move sprites around the Scratch screen in a controlled way and how to tell a joke. Resources: The sprite “ roman_cat ” and the background “ roman_stage ”.

The cat is feeling a bit lonely, so we’d better create some characters for it to play with. You can either paint your own sprites or import sprites from the Scratch Costumes folder. Use the New Sprites buttons to do this.

paint new sprite

choose a new sprite from file

get a surprise sprite

On the right-hand side of the program, just below the stage and above the Sprite List, you’ll see three buttons: the New Sprite buttons. It’s these we’re going to use.

I want to add a time-travelling boy to my stage. To keep things simple, and to let us get on with some more programming, we’re just going to import him.

Click on the middle New Sprite button and import the sprite “ boy4-walking-c ”. But wait a sec: he’s facing the wrong way! No problem. Go to the Costumes tab and click on Edit. Use the Flip Horizontally button to make him face to the left.

A beginner’s guide to Scratch

15

Made with FlippingBook flipbook maker