RFNXVfwQQPS4J

Introduction to the Scratch environment

Source: licencja: CC 0.

Wprowadzenie do środowiska Scratch

You will learn
  • the basic functionalities of the Scratch program,

  • to talk about them in English.

Introduction:

RKDyns8Bm2Z7H1
nagranie abstraktu

Answer the questions below:

  1. What computer games do you play most often?

  2. What skills and knowledge do you have to have to create such a game? What is the name of professional who creates such games?

  3. What is programming?

Discuss your answers with other students.

R1UfjdfLUUsEm1
nagranie abstraktu

Read the text below and follow the instructions.

Each of you likes to play a game sometimes, maybe it's worth trying to create one on your own? To start with a simple one, but over time, if you gain experience, you will certainly be able to get involved in a more advanced projects. You have to start the process of game creation with little steps.

Let's start with the Scratch environmentscratch environment Scratch environment.

What is Scratch? It is a programming environment that allows you to create simple applications using sounds, allowing you to draw and choose colors, etc. It is available to everyone, because you can use it completely free of charge and both install it on a computer and work on the network. Scratch should work on every computer regardless of the operating system installed. If you want to share your work with others, it will be possible from any place that has access to the Internet, because projects made using this application can be shared on the Internet. Using Scratch does not require prior knowledge of any programming languageprogramming languageprogramming language. All programs written in Scratch are built using blocks. Blocks have different colors depending on which group of commands they belong to. All commands are printed on blocks, in Polish, English or any other language depending on the language chosen.

So now  it's time to get to know the environment.

RhqIzfSdt0xkk1
nagranie abstraktu
  1. Go to www.scratch.mit.edu.

  2. Select the Create icon.

  3. After selecting the Create icon on the screen you will see the following image. To see the functions of each element, click on the numbers in the figure below.

RQ5fq2w6zGHVb
Ilustracja interaktywna przedstawia zrzut ekranu ze strony www.scratch.mit.edu. Po lewej stronie na górze znajduje się scena skryptów. Na tej scenie znajduje się postać kota. Jest to duszek wykorzystany w tym środowisku. Po prawej stronie od obszaru sceny skryptów znajduje się blok poleceń, z którego wybieramy klocki funkcyjne. Dalej po prawo znajduje się duży, szary obszar, na którym buduje się program z klocków. Na końcu po prawej stronie jest blok z podstawowymi projektami zaproponowanymi przez producenta środowiska Scratch. Poniżej sceny znajdują są ikony zmiany tła oraz zmiany duszka. Nad obszarem ze sceną skryptu od lewej strony znajdują się przyciski: niebieski kwadrat, służący do włączania tryby pełnoekranowego, ikona globusa, po kliknięciu której można ustawić język pracy w środowisku, zielona flaga stanowiąca przycisk start oraz czerwone kółko pełniące funkcje przycisku stop. Nad blokiem poleceń znajduje się panel zakładek. Na ilustracji widoczne są numery, a na nich podpisy. 1. stage of scripts {audio}, 2. functional blocks {audio}, 3. script area {audio}, 4. preliminary projects for learning the program {audio}, 5. background change buttons {audio}, 6. adding sprites (characters) {audio}, 7. full-screen mode {audio}, 8. language {audio}, 9. start {audio}, 10. stop {audio}, 11. tabs {audio}
Understanding Scratch environment
Source: GroMar, licencja: CC BY 3.0.
RPZGDhlaWztu51
nagranie abstraktu

Pay attention to the shape of the blocks. They look like a puzzle. They match others.

To create your own design you have to choose: the spritespritesprite (character), the stagestagestage and give the sprite some instructions. Commands from which your program will consist of should be moved from the block area to the program building area. First select the commandcommandcommand you are interested in by clicking on the appropriate block, then drag it to the program building area and release the mouse buttonbuttonbutton. If it turns out that too many sprites are on the stagestagestage, you can remove the unwanted sprite by selecting the icon of scissors on the top of the program, and then clicking on the sprite to be removed.

Check also what Scratch's producers have prepared for you. Choose elements from the initial projects to learn the program. And now it's time to use knowledge in practice.

Task 1
RxxspR8DQScJx1
nagranie abstraktu

Make a simple animation, e.g. a butterfly which follows the mouse cursor. To do this, choose a butterfly from the spritespritesprite block. Then from the „Events” tab select the „When clicked (green flag)” buttonbuttonbutton, then from the „Control” tab select „Always” and now from the „Motion” tab select „point in the direction” and then „Move … steps „. Put these commands inside the „Always” commandcommandcommand. Name the butterfly. To do this, click on the letter and that is on the butterfly icon on the left at the bottom of the screen.

Now just click on the green flag and .... well done, you have just completed your first project.

Task 2
R1crBnD8KBOZP1
nagranie abstraktu

Save your project. To do this, create your account using the log in icon in the upper right corner of the screen. Remember to use the network securely and set strong passwords. By saving your project you can share it with anybody who is connected to the Internet.

RMcgBviI627bN1
nagranie abstraktu

Conclusions

The Scratch program allows you to write programs without any programming languageprogramming languageprogramming language. Thanks to the use of functional blocks, creating your own design is not difficult. Projects created in Scratch can be stored on your own computer or on the network.

Exercises

Exercise 1
RDJ0SFS2In29Q
Wersja alternatywna ćwiczenia: Determine which sentences are true. Możliwe odpowiedzi: 1. It is necessary to install the program on the computer while working in the Scratch environment., 2. The commands in Scratch typed in from the keyboard., 3. Project made in Scratch be viewed on another computer., 4. Programming in Scratch require the knowledge of any programming language., 5. Ready-made commands available in Scratch., 6. The blocks available in Scratch always match one another.
zadanie
Source: GroMar, licencja: CC BY 3.0.
Exercise 2

In the Scratch environment, make a project of a diver in the aquarium with fish, write his or her name, and then create a command in which the letters in his or her name will change their color every now and then.

Exercise 3

Describe in English what the Scratch panel looks like.

Exercise 4
R1W1SXz8FVtch
Wersja alternatywna ćwiczenia: Indicate which pairs of expressions or words are translated correctly. Możliwe odpowiedzi: 1. środowisko scratch - scratch environment , 2. duszek - sprite, 3. funkcja - function, 4. polecenie - programming language, 5. język programowania - command
zadanie
Source: GroMar, licencja: CC BY 3.0.
RFBdxctcNCPSO1
Interaktywna gra, polegająca na łączeniu wyrazów w pary w ciągu jednej minuty. Czas zaczyna upływać wraz z rozpoczęciem gry. Jeden ruch to odkrywanie najpierw jednej potem drugiej karty z wyrazem. Każdy wyraz jest odczytywany. Kolejny ruch to odkrywanie trzeciej i czwartej karty. W ten sposób odsłuchasz wszystkie wyrazy. Nawigacja z poziomu klawiatury za pomocą strzałek, odsłuchiwanie wyrazów enterem lub spacją. Znajdź wszystkie pary wyrazów.
Source: Zespół autorski Politechniki Łódzkiej, licencja: CC BY 3.0.

Glossary

background
background

tło

R1CMvNNQ9PTCg1
wymowa w języku angielskim: background
button
button

przycisk

R1aUHRKC2Av1s1
wymowa w języku angielskim: button
command
command

polecenie

RjncVhVx1BA7L1
wymowa w języku angielskim: command
function
function

funkcja

RVbnhRdATs5AP1
wymowa w języku angielskim: function
keyboard
keyboard

klawiatura

R1UrqlxIFbEAY1
wymowa w języku angielskim: keyboard
programming language
programming language

język programowania

R14TzWzhR4PYG1
wymowa w języku angielskim: programming language
scratch environment
scratch environment

środowisko scratch

R1EERB1Sqedow1
wymowa w języku angielskim: scratch environment
sprite
sprite

duszek

Ry1BGluPEVXbZ1
wymowa w języku angielskim: sprite
stage
stage

scena

RJpkvufA37JsF1
wymowa w języku angielskim: stage
tip
tip

wskazówka

RblwKiK19Y7zd1
wymowa w języku angielskim: tip

Keywords

commandcommandcommand

functionfunctionfunction

programming languageprogramming languageprogramming language

scratch environmentscratch environment scratch environment

spritespritesprite