Lesson 1 Sequences

Get Scratch. Look around. The Sequence Project

Go and get Scratch. Its free!

So this is the start of the journey to becoming a coder. First thing we need is our coding environment and what is better to start with than Scratch. You have 2 options the 1st is the desktop version. The 2nd option is the online version.

Option 1 Scratch 1.4 Desktop

Please make sure you get the right download. You will have a xx operating system. So you want xx for this machine, you can get this here.

Option 2 Online Scratch



Click on the picture above to go to the Scratch website. When you see the menu bar on the top of the page, you then need to click on 'join'. You will go through the 'create an account' process. Also, you will need to get an account on the Scratch web site so you can store your projects. You will see the thee screens below.

After you have got your account you will see the 'create' button on the menu bar. This is where you can code online, and you can get an offline version too. We will not cover this right now, but if you want us to, we will put a guide together.

You will find lots of cool stuff on this site, so have a good look around! If you have seen enough here you can just crack on with our friends at MIT Scratch. So now, please enjoy,

We hope we helped. Please keep looking at our site. ッ


So lets have a look around ッ


The desktop version


The section on the left is full of 'command' blocks, which you will need to join together. This will make your programs under the 'script' tag. You just drag a block with your mouse. Please see the picture below.


You will see a section in the middle. The 'script' tag is selected on the picture above the scratch programming environment. This is where the code blocks will go. We can see the drawing of the cat in the 'costume' tag. The costumes are numbered 1 and 2, this is important, but we will cover that later. Click on 'edit' and play about with it. You can't do any harm and its fun!

Working with the stage

The next section is the 'stage'. As the name would suggest, it is where all the action in you program happens. We start with the stage and the sprite. We call these 'objects', and you will see us create all sorts of different objects as we develop our programs, learning how to code as we progress.

Take a look at the three icons. When you click the first icon the stage is very small, but when you click the second icon, the stage is larger, while the third icon takes over the whole screen. The icon on the black background will return you to the Scratch environment.



The Online version

The online version is almost the same as the desktop version, there are only some slight differences. All the examples we will give you will be in the desktop version. A rule we follow is:-

"You can load a project in the desktop version on to the online version, but not the other way around."

Getting to projects on this site working.

If you are working with the online version, click on the Scratch Download button - you will see this button all over this site - then click on the 'Upload from your Computer' menu from 'file'.

If you are viewing this on a mobile device, like a mobile phone or a tablet. you may need to be on a PC or Mac to use Scratch.

The 1st program Sequence.

Download the Sequence Project here.

This is the first time you have seen our download button. Click on this to download our scratch project when you see it.


This is the first lesson. We have downloaded Scratch and started to find our way about.

Let's take it easy for now. So take a look at the sequences, download the sequence project and have a look at it by running it.

Click the GREEN FLAG.

What we have done is to move the cat around the screen and track its movement. Can you look at the numbers in the blue blocks? They tell us where the cat is on the screen. This is talking to the computer in code! We do more than just talk we tell it what to do. As you learn more, you will be able to tell it to do a lot of things. We think it is better to play with this, in order to work out what the numbers means.

If you think you need more explaination click here.

Hi I am Alan and I am Ada



I am named after Ada Lovelace, who wrote the first ever computer language. Ada predicted that such a machine might be used to compose complex music, to produce graphics and would be used for both practical and scientific use, she was correct.

Alan is named after Alan Turin, who is known as one of the most important people in inventing the modern computer.

We are here to help you, when you may need a bit more help. We keep in the background, so if you just get it keep going. You will see us all over this site. ッ

This section is for our members, you can get details of how to become a member on our ready to go page. The members site is here.




Sequences

Sequences are blocks of code followed by the next block, until we run out of blocks. In the sequence demonstration we have the cat moving around, so click on the green flag and see what happens. Get used to it by changing the block around, or even put new ones on to see what happens. The numbers can be changed, Don't forget, the more you play with it, the more you will understand. The program draws part of the union jack shape. Can you finish the shape by adding more blocks?



This section is for our members, you can get details of how to become a member on our ready to go page. The members site is here.



Well done


OK that was a good start. We hope you enjoyed the introduction.