diff --git a/en/images/.keep b/en/images/.keep new file mode 100644 index 0000000..e69de29 diff --git a/en/images/banner.png b/en/images/banner.png new file mode 100644 index 0000000..78a2573 Binary files /dev/null and b/en/images/banner.png differ diff --git a/en/images/new-sprite.png b/en/images/new-sprite.png new file mode 100644 index 0000000..dd95f35 Binary files /dev/null and b/en/images/new-sprite.png differ diff --git a/en/images/scratch-1.png b/en/images/scratch-1.png new file mode 100644 index 0000000..9f81bb1 Binary files /dev/null and b/en/images/scratch-1.png differ diff --git a/en/images/scratch-2.png b/en/images/scratch-2.png new file mode 100644 index 0000000..9cb4353 Binary files /dev/null and b/en/images/scratch-2.png differ diff --git a/en/images/scratch-interface.png b/en/images/scratch-interface.png new file mode 100644 index 0000000..77e7707 Binary files /dev/null and b/en/images/scratch-interface.png differ diff --git a/en/meta.yml b/en/meta.yml new file mode 100644 index 0000000..4860352 --- /dev/null +++ b/en/meta.yml @@ -0,0 +1,24 @@ +--- +title: Getting Started With Scratch +hero_image: images/banner.png +description: Getting started with Scratch on Raspberry Pi +original_url: https://raspberrypi.org/learning/getting-started-with-scratch +theme: red +duration: 2 +listed: true +ingredient: false +copyedit: true +curriculum: creator, design-0, programming-0, phys-comp-0, manufacture-0, community-0 +interests: '' +technologies: rpi, physical computing, python +site_areas: '' +steps: +- title: Introduction +- title: What you will need +- title: Getting Started with Scratch +- title: Getting started +- title: Make the Scratch cat move +- title: Changing the way the sprite looks +- title: Add Sprites +- title: What next? + diff --git a/en/resources/.keep b/en/resources/.keep new file mode 100644 index 0000000..e69de29 diff --git a/en/step_1.md b/en/step_1.md new file mode 100644 index 0000000..6646226 --- /dev/null +++ b/en/step_1.md @@ -0,0 +1,15 @@ +## What you will make +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. + +## What you will learn + By following the steps in this tutorial, you will learn: + - What all the buttons and tool bars in the Scratch window do + - How to use blocks to make the scratch cat move + - How to change sprites + - How to create your own sprites + +This resource covers elements from the following strands of the [Raspberry Pi Digital Making Curriculum](https://www.raspberrypi.org/curriculum/): + +- [Design basic 2D and 3D assets](https://www.raspberrypi.org/curriculum/design/creator) +- [Use basic programming constructs to create simple programs](https://www.raspberrypi.org/curriculum/programming/creator) + diff --git a/en/step_2.md b/en/step_2.md new file mode 100644 index 0000000..0a5b13f --- /dev/null +++ b/en/step_2.md @@ -0,0 +1,2 @@ +## What you will need + diff --git a/en/step_3.md b/en/step_3.md new file mode 100644 index 0000000..6ff254e --- /dev/null +++ b/en/step_3.md @@ -0,0 +1,4 @@ +## Getting Started with Scratch + +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. + diff --git a/en/step_4.md b/en/step_4.md new file mode 100644 index 0000000..d2fe338 --- /dev/null +++ b/en/step_4.md @@ -0,0 +1,6 @@ +## Getting started + +You'll find Scratch in `Menu` > `Programming`. Once opened you will see a window like this: + +![](images/scratch-interface.png) + diff --git a/en/step_5.md b/en/step_5.md new file mode 100644 index 0000000..f0be3d4 --- /dev/null +++ b/en/step_5.md @@ -0,0 +1,13 @@ +## Make the Scratch cat move + +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. + +- Click on the Scratch cat sprite. +2. Then click on the blocks palette and select **Control**. +3. Next drag a **When green flag clicked** block and place it on the scripts area in the middle of the screen. +4. Add a blue **Move 10 steps** block from the **Motion** blocks palette and connect it to the **When green flag clicked** block. +5. Now click the green flag icon in the top right hand side of the screen and see the cat move! +6. How would you get the cat to move further? + +![](images/scratch-1.png) + diff --git a/en/step_6.md b/en/step_6.md new file mode 100644 index 0000000..58e7fcf --- /dev/null +++ b/en/step_6.md @@ -0,0 +1,14 @@ +## Changing the way the sprite looks + +All sprites in Scratch can wear different costumes. + +- Click on your sprite to select it. In the **Scripts** area in the middle of the screen, click on the **Costumes** tab. +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. +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. +4. Next, draw some clothes on the costume and click **OK**. +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. +6. Select **costume3** from the drop-down menu on the purple block. +7. Now run your program to see the costume change. + +![](images/scratch-2.png) + diff --git a/en/step_7.md b/en/step_7.md new file mode 100644 index 0000000..4329a48 --- /dev/null +++ b/en/step_7.md @@ -0,0 +1,11 @@ +## Add Sprites + +If you feel that the Scratch cat sprite does not suit your needs then you can add other sprites, or even create your own! + +- At the top of the Sprites palette are three icons to create a new sprite. +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. +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. +4. The third icon will, when clicked, give you a **surprise sprite**. Click this and see what happens! + +![](images/new-sprite.png) + diff --git a/en/step_8.md b/en/step_8.md new file mode 100644 index 0000000..de0a8e3 --- /dev/null +++ b/en/step_8.md @@ -0,0 +1,4 @@ +## What next? +- Now you know the basics of the Scratch, why not try completing the [Robot Antenna Resource](https://projects.raspberrypi.org/en/projects/robot-antenna/) to make an LED blink. +- You could also try creating a button using candy sweets with the [Sweet Shop Reaction Game Resource](https://projects.raspberrypi.org/en/projects/sweet-shop-reaction-game/) +