Makey Makey project
To create a scratch project that can be used/controlled with a Makey Makey.
(The content of this project can be changed at any time to fit with your makey makey project.)
For our scratch project we will be controlling everything with the four arrow keys: Up, Down, Left and Right. Each arrow key will take the user to a different background and page of information about your topic. My project will be on my favourite countries.
To keep our project code as tidy as possible, we should put as much of it as possible in the same place. The cat is the perfect place for this.
Using the blue i on our sprite, rename the cat from "sprite1" to "Coding Cat" and untick the show box so that it is invisible.
Either by taking photos or using google to search for copyright free images, you need to upload all of your backdrops/backgrounds of your choosing.
Once they're uploaded rename your backdrops to include the arrow that you will use for that backdrop. Eg. rename "France" to "France RIGHT". I will be using the right arrow for France.
Next you need to add the code to the "Coding Cat" so that when an arrow is pressed the correct backdrop appears.
In the Events Category, Drag out the "When Key Pressed" block, then from the looks category drag out the "Switch Backdrop To" block. Edit both of these block so that the arrow and backdrop name match.
Now you have your base template you can start to add bits and pieces as you chose.
Below I will show you how to add text, images, audio and narration to your project.
My project is split into 4 countries, I am going to start by adding a couple of facts to my France page which is controlled with the right arrow.
Our text is going to be stored in its own sprite, click the paint new sprite icon
then navigate to the costumes tab.
Inside the costumes tab you will see a text tool that we can use. Click on the tool and then click anywhere inside the editor to begin entering text. You can change the colour of the text by using the colour selector at the bottom of the editor. You will also notice that you can change the font too!
The next step is to add code to make our text appear when the right arrow is pressed.
Position your text where you want it to display. Then in the events category, drag out the "When Key Pressed" block, edit it to select the corresponding arrow then from the looks category drag out the "show" block.
Now that our text appears when the right arrow is pressed means we need it to disappear when its not that arrow being pressed. Repeat the last step 3 times but instead use the "hide" block.
Now I am going to add a couple of images to my Belgium page which is controlled by the up arrow.
Our images will be stored on separate sprites, if you are drawing your images then use the "paint new sprite" button or, if you are getting an image from your computer then select "upload new sprite".
Once you have your images, move them to where you want. If needed you can use the shrink tool to shrink your images.
The next step is to add code to each image to make our images appear when the up arrow is pressed. Position your images where you want. Then in the events category, drag out the "When Key Pressed" block, edit it to select the corresponding arrow then from the looks category drag out the "show" block.
Now that our images appear when the up arrow is pressed, we need it to disappear when its not that arrow being pressed Repeat the last step 3 times but instead use the "hide" block.
Now I am going to add some music to my Brazil page which is controlled by the up arrow.
Our audio will be stored in our coding cat, select the cat and navigate to the sounds tab. Just like the images and sprites, you can select one of a few options. You can chose audio from the scratch library or upload audio from your computer.
I am choosing some music from the scratch library so I click on the little speaker icon and then double click the music I want.
Once you have your audio selected, navigate to the scripts tab and from the sounds category drag out the "play sound" block and add it to the appropriate arrow key.
You may notice in the sounds tab that you can edit and create effects. Have a go and see what you can make!
Now I am going to add some narration to my New Zealand page which is controlled by the down arrow.
You will need a microphone and to accept adobe flash player settings request to use you microphone to complete this next step.
Our audio will be stored in our coding cat, select the cat and navigate to the sounds tab. Just like the images and sprites. This time we are going to click on the microphone icon to start recording. You may be asked by flash player to allow the use of your microphone, click on allow to begin recording.
Once you have recorded your narration, navigate to the scripts tab and from the sounds category drag out the "play sound" block and add it to the appropriate arrow key.
You may find it helpful to rename your narration.