The_Official_Raspberry_Pi_-_Beginner’s_Book_Vol1,_2018 (1)

(singke) #1

(^86) THE OFFICIAL RASPBERRY PI BEGINNER'S GUIDE
5 Figure 4-20: The finished synchronised swimming routine
Project 3: Archery Game
Now you’re getting to be a bit of an expert at Scratch, it’s time to work on something a little
more challenging: a game of archery, where the player has to hit a target with a randomly
swaying bow and arrow.
Start by opening the Chrome Web Browser and typing rpf.io/archery-resources followed by
the ENTER key. The resources for the game only take a few seconds to download. Switch back to
Scratch 2 and click on the File menu followed by Load Project. Click on ‘pi’ in the Places pane at the
ONLINE PROJECT
This project is also available online at rpf.io/archery
CHALLENGE: CUSTOM ROUTINE
Can you create your own synchronised swimming
routine using loops? What would you need to change
if you wanted more swimmers, or fewer swimmers?
Can you add multiple swimming routines which can be
triggered using different keys on the keyboard?

Free download pdf