Time for action – creating a talking head
In previous examples, we've seen how easy it is to import images from Scratch's built-in libraries or from files on our computer. Now, it's time to circle back and check out the webcam. This exercise will also use the PicoBoard's sound sensor to detect our voice.
To start, create a new project, and delete or hide the Scratch cat and then complete the following steps:
- With the stage selected, click on the Backgrounds (Backdrops in 2.0) tab, and then click on the camera icon. A new window is displayed and shows what the webcam sees.
Tip
On Scratch 2.0, an Adobe Flash Player settings' dialog box will prompt you to allow or deny access to the computer's camera and microphone. You must allow access in order to use the webcam.
- Look at the camera with your mouth closed, and click on the camera icon to import the image. Then open your mouth, and take another snapshot. Click on Done to close the dialog box. We now have two...