├── meta.yml ├── cover.png ├── images ├── new-sprite.png ├── scratch-1.png ├── scratch-2.png └── scratch-interface.png ├── overview.md ├── LICENCE.md ├── learn.md ├── README.md ├── CONTRIBUTING.md └── worksheet.md /meta.yml: -------------------------------------------------------------------------------- 1 | title: Getting Started With Scratch 2 | category: learn 3 | -------------------------------------------------------------------------------- /cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypilearning/getting-started-with-scratch/HEAD/cover.png -------------------------------------------------------------------------------- /images/new-sprite.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypilearning/getting-started-with-scratch/HEAD/images/new-sprite.png -------------------------------------------------------------------------------- /images/scratch-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypilearning/getting-started-with-scratch/HEAD/images/scratch-1.png -------------------------------------------------------------------------------- /images/scratch-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypilearning/getting-started-with-scratch/HEAD/images/scratch-2.png -------------------------------------------------------------------------------- /images/scratch-interface.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/raspberrypilearning/getting-started-with-scratch/HEAD/images/scratch-interface.png -------------------------------------------------------------------------------- /overview.md: -------------------------------------------------------------------------------- 1 | Scratch is a visual programming tool which allows the user to create animations and games with a drag-and-drop interface. It allows you to create your own computer games, interactive stories, and animations using some programming techniques without actually having to write code. This resource will help get you started with the basics of Scratch. 2 | -------------------------------------------------------------------------------- /LICENCE.md: -------------------------------------------------------------------------------- 1 | # Licence 2 | 3 | Unless otherwise specified, everything in this repository is covered by the following licence: 4 | 5 | [![Creative Commons License](http://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/) 6 | 7 | ***Getting Started with Scratch*** by the [Raspberry Pi Foundation](http://www.raspberrypi.org) is licenced under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). 8 | 9 | Based on a work at https://github.com/raspberrypilearning/getting-started-with-scratch 10 | -------------------------------------------------------------------------------- /learn.md: -------------------------------------------------------------------------------- 1 | By following the steps in this tutorial, you will learn: 2 | - What all the buttons and tool bars in the Scratch window do 3 | - How to use blocks to make the scratch cat move 4 | - How to change sprites 5 | - How to create your own sprites 6 | 7 | This resource covers elements from the following strands of the [Raspberry Pi Digital Making Curriculum](https://www.raspberrypi.org/curriculum/): 8 | 9 | - [Design basic 2D and 3D assets](https://www.raspberrypi.org/curriculum/design/creator) 10 | - [Use basic programming constructs to create simple programs](https://www.raspberrypi.org/curriculum/programming/creator) 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | **This is an archived resource.** The repo will remain available but the resource will no longer be maintained or updated. Some or all parts of the resource may no longer work. To see our latest resources, please visit [raspberrypi.org](http://www.raspberrypi.org). 2 | 3 | # Getting started with Scratch 4 | 5 | Getting started with Scratch on Raspberry Pi 6 | 7 | ![](cover.png) 8 | 9 | Scratch is a visual programming tool which allows the user to create animations and games with a drag-and-drop interface. It allows you to create your own computer games, interactive stories, and animations using some programming techniques without actually having to write code. It’s a great way to get started programming on the Raspberry Pi with young people. To find out more about Scratch, visit the website at [scratch.mit.edu](http://scratch.mit.edu) or see the [Computing At School Raspberry Pi Education Manual](http://pi.cs.man.ac.uk/download/Raspberry_Pi_Education_Manual.pdf). 10 | 11 | ![](images/scratch-interface.png) 12 | 13 | ## The Worksheet 14 | 15 | - [The Worksheet](worksheet.md) 16 | 17 | ## Licence 18 | 19 | Unless otherwise specified, everything in this repository is covered by the following licence: 20 | 21 | [![Creative Commons License](http://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/) 22 | 23 | ***Getting Started with Scratch*** by the [Raspberry Pi Foundation](http://www.raspberrypi.org) is licenced under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). 24 | 25 | Based on a work at https://github.com/raspberrypilearning/getting-started-with-scratch 26 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | All contributions are assumed to be licensed under the same licence as the source, i.e. [CC BY-SA](http://creativecommons.org/licenses/by-sa/4.0/). This licence must remain in all derivatives of this work. 4 | 5 | ## Issues 6 | 7 | If you find a mistake, bug or other problem, please [open an issue](https://github.com/raspberrypilearning/getting-started-with-scratch/issues) in this repository. 8 | 9 | ## Pull Requests 10 | 11 | If you fix a mistake, bug or problem or have something to contribute, please create a pull request for each modification. Please consider grouping modifications sensibly, i.e. don't bundle typo fixes in the same pull request as code changes, instead file them separately. 12 | 13 | Please note that sometimes things are done for pedagogical reasons so changes which make sense from a software engineering perspective (reducing duplication or making use of more advanced programming language features) may not be suitable to maintain the intended educational value. 14 | 15 | ## Derivatives 16 | 17 | The licence must remain in all derivatives of this work. 18 | 19 | ## Licence 20 | 21 | Unless otherwise specified, everything in this repository is covered by the following licence: 22 | 23 | [![Creative Commons License](http://i.creativecommons.org/l/by-sa/4.0/88x31.png)](http://creativecommons.org/licenses/by-sa/4.0/) 24 | 25 | ***Getting Started with Scratch*** by the [Raspberry Pi Foundation](http://www.raspberrypi.org) is licenced under a [Creative Commons Attribution 4.0 International License](http://creativecommons.org/licenses/by-sa/4.0/). 26 | 27 | Based on a work at https://github.com/raspberrypilearning/getting-started-with-scratch 28 | -------------------------------------------------------------------------------- /worksheet.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Scratch 2 | 3 | Scratch is a visual programming tool which allows the user to create animations and games with a drag-and-drop interface. It allows you to create your own computer games, interactive stories, and animations using some programming techniques without actually having to write code. It’s a great way to get started programming on the Raspberry Pi with young people. 4 | 5 | ## Getting started 6 | 7 | You'll find Scratch in `Menu` > `Programming`. Once opened you will see a window like this: 8 | 9 | ![](images/scratch-interface.png) 10 | 11 | ## Make the Scratch cat move 12 | 13 | The cat in the white preview window is an example of a **sprite** in Scratch. Currently the Scratch cat sprite is on a blank **stage**. Let's get the cat to move. 14 | 15 | 1. Click on the Scratch cat sprite. 16 | 2. Then click on the blocks palette and select **Control**. 17 | 3. Next drag a **When green flag clicked** block and place it on the scripts area in the middle of the screen. 18 | 4. Add a blue **Move 10 steps** block from the **Motion** blocks palette and connect it to the **When green flag clicked** block. 19 | 5. Now click the green flag icon in the top right hand side of the screen and see the cat move! 20 | 6. How would you get the cat to move further? 21 | 22 | ![](images/scratch-1.png) 23 | 24 | ## Changing the way the sprite looks 25 | 26 | All sprites in Scratch can wear different costumes. 27 | 28 | 1. Click on your sprite to select it. In the **Scripts** area in the middle of the screen, click on the **Costumes** tab. 29 | 2. You will see that the cat has two costumes. Click on Copy to make a third costume and a new cat costume should appear. 30 | 3. Select **costume3** and click on **Edit**. This will open the **Paint Editor**. Experiment with all the buttons and tools to find out what they do. 31 | 4. Next, draw some clothes on the costume and click **OK**. 32 | 5. To switch between costumes, click on the **Scripts** tag. Add the purple **Looks** block, **Switch to Costume**, to the other blocks and connect it. 33 | 6. Select **costume3** from the drop-down menu on the purple block. 34 | 7. Now run your program to see the costume change. 35 | 36 | ![](images/scratch-2.png) 37 | 38 | ## Add Sprites 39 | 40 | If you feel that the Scratch cat sprite does not suit your needs then you can add other sprites, or even create your own! 41 | 42 | 1. At the top of the Sprites palette are three icons to create a new sprite. 43 | 2. The first allows you to **Paint your own sprite**. Click on this and it will open the **Paint Editor** window. Here you can use shapes, lines, and freehand drawings to make fun characters. 44 | 3. The second icon allows you to **Choose a new sprite** from those already built into Scratch or saved on your Raspberry Pi. Click on this, and you will be able to navigate to the folders containing those sprites and select one you like. 45 | 4. The third icon will, when clicked, give you a **surprise sprite**. Click this and see what happens! 46 | 47 | ![](images/new-sprite.png) 48 | 49 | ## What next? 50 | - Now you know the basics of the Scratch, why not try completing the [Robot Antenna Resource](http://www.raspberrypi.org/learning/robot-antenna/) to make an LED blink. 51 | - You could also try creating a button using candy sweets with the [Sweet Shop Reaction Game Resource](http://www.raspberrypi.org/learning/reaction-game/) 52 | --------------------------------------------------------------------------------