Skip to content
This repository was archived by the owner on Mar 12, 2018. It is now read-only.

Draft #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added en/images/.keep
Empty file.
Binary file added en/images/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/images/new-sprite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/images/scratch-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/images/scratch-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added en/images/scratch-interface.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions en/meta.yml
Original file line number Diff line number Diff line change
@@ -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?

Empty file added en/resources/.keep
Empty file.
15 changes: 15 additions & 0 deletions en/step_1.md
Original file line number Diff line number Diff line change
@@ -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)

2 changes: 2 additions & 0 deletions en/step_2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## What you will need

4 changes: 4 additions & 0 deletions en/step_3.md
Original file line number Diff line number Diff line change
@@ -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.

6 changes: 6 additions & 0 deletions en/step_4.md
Original file line number Diff line number Diff line change
@@ -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)

13 changes: 13 additions & 0 deletions en/step_5.md
Original file line number Diff line number Diff line change
@@ -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)

14 changes: 14 additions & 0 deletions en/step_6.md
Original file line number Diff line number Diff line change
@@ -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)

11 changes: 11 additions & 0 deletions en/step_7.md
Original file line number Diff line number Diff line change
@@ -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)

4 changes: 4 additions & 0 deletions en/step_8.md
Original file line number Diff line number Diff line change
@@ -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/)