2014-11-20 10.55.33

Making a programme from Scratch!

on November 21 | in Categories, Homeschooling | by | with 1 Comment

Well, I think your first question will be “what is Scratch?” Scratch is a programing language that almost everyone can understand. It’s blocks look like blocks of colour and you can find different ones by clicking on buttons like the ones below (these buttons don’t have any links).

looks motion

variables sensing

control operators

events

For example, if you click on the control button then all the control bocks will come up in the middle of the screen. The motion blocks are used to move Sprites (Sprites are charecters).

If you want to go to the scratch website, click on the Scratch.

Scratch is a very fun way to learn to program, and I do it on my own computer. But my computer is not an ordinary, fast computer that many people own. It is not even a laptop. It is a Pi. More on that at the end of this post.

Some of the blocks are shaped like a squashed and bumpy letter C. These are from the control

Those are called “loops”. There are “if loops”,”repeat___ loops”, ”forever loops”, “if – else loops” and “forever if loops”. “If loops”, and “forever if loops” can have sensing blocks added in.

You can make variables by clicking the make a variable button and entering a variable name.

variables are like small boxes; they can fit words, values and strings(strings are messages). One thing you can do is use the “ask_______and wait” and “answer” blocks that can be found in the sensing area. You can use the “set___to___” from the operators area to set the answer to a variable. For example, where a is a variable: “set ‘a’ to answer” will store the answer in the variable “a”.

The most useful blocks are the events. They let you run a program and start it. They are shaped like a slide with smooth steps on the other side. The “broadcast” and “when I recieve” blocks let one Sprite react to another Sprite or the stage.

I hope this has inspired you to make your own Scratch projects;  Scratch is free and all you need is Adobe Flash Player.  Scratch is easy to download (just click the link saying “Scratch” and it wil download. If you want to share your projects online make a profile by clicking “join Scratch” on the website).

It’s as easy as Pi!

Now if you’re wondering “What on earth is a Pi? Is it this like this: π? Is it the kind you eat?” Well, it isn’t either of those. It is a mini computer.

This is a picture of my Pi:

2014-11-20 10.54.06

If you want to learn more about the Pi, click this Pi computer.

Pin It

One Response

  1. Mark says:

    Fantastic work Sameul. Looking forward to seeing it when we are over. Love Mark

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

« »

Scroll to top