The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1
Chapter 4 Programming with Scratch^79

THE OFFICIAL RASPBERRY PI BEGINNER’S GUIDE


at its top-right corner to delete it. Next, click on the ‘cat1 flying-b’ costume and use the name
box at the top to rename it to ‘right’ (Figure 4-17).


5 Figure 4-17: Rename the costume as ‘right’


Right-click on the newly renamed ‘right’ costume and click ‘duplicate’ to create a copy. Click
on this copy to select it, click on the flip left-right icon , then rename it to ‘left’ (Figure 4-18).
You’ll finish with two ‘costumes’ for your sprite, which are exact mirror images: one called
‘right’ with the cat facing right, and one called ‘left’ with the cat facing left.


5 Figure 4-18: Duplicate the costume, flip it, and name it ‘left’

Free download pdf