-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
62 changed files
with
550 additions
and
31 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Empty file.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
for file in 1*.png; | ||
do | ||
text=$(echo "$file" | head -c 2 | tail -c 1) #get 2nd character from file name | ||
convert $file -trim +repage $file; #trim the image | ||
convert $file -gravity South -splice 0x36 -font FreeSans -pointsize 36 -annotate +0+-5 "$text" label$file; #annotate with text | ||
done | ||
montage label*.png -tile 2x2 -geometry +5+1 montage.png #montage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
--- | ||
title: Заблукалий у космосі | ||
theme: green | ||
title: Заблукали в космосі | ||
hero_image: images/lost-in-space.png | ||
description: У цьому проекті ви навчитесь програмувати власні анімації! | ||
description: Дізнайся, як запрограмувати власну анімацію! | ||
original_url: https://www.codeclubprojects.org/en-GB/scratch/lost-in-space | ||
duration: 2 | ||
listed: true | ||
copyedit: true | ||
ingredient: false | ||
curriculum: 1, design-0, programming-1, phys-comp-0, manufacture-0, community-0 | ||
interests: space | ||
technologies: scratch | ||
site_areas: projects | ||
hardware: '' | ||
software: scratch | ||
version: 4 | ||
last_tested: 2017-11-01 | ||
version: 4.1.3 | ||
last_tested: 2018-09-26 | ||
steps: | ||
- title: Заблукалий у космосі | ||
- title: Вступ | ||
- title: Анімація космічного корабля | ||
- title: 'Завдання: вдоскональ свою анімацію' | ||
challenge: true | ||
- title: Анімація за допомогою циклів | ||
completion: | ||
- engaged | ||
- title: Невагома мавпа | ||
- title: Астероїд, що відскакує | ||
- title: Сяйна зірка | ||
completion: | ||
- internal | ||
- title: 'Завдання: створи власну анімацію' | ||
challenge: true | ||
- title: Що далі? |
Empty file.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Поїхали! |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,63 @@ | ||
Це стара версія **Заблукалий у космосі**. На даний час, останні матеріали та функції користувача сайту не входять до нього. Він буде тимчасово доступний в [цьому форматі](images/Lost in Space.pdf) перед архівуванням. | ||
## Вступ | ||
|
||
Нам потрібна ваша домомога, щою оновити та перекласти такі проекти! Якщо ви згодні допомогти, будьласка [повідомте нам](https://rpf.io/translators). | ||
Ти навчишся програмувати власну анімацію! | ||
|
||
### Що ти зробиш | ||
|
||
--- no-print --- | ||
|
||
Натисни на зелений прапор, щоб побачити анімацію. | ||
|
||
<div class="scratch-preview"> | ||
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/974296015/?autostart=false" frameborder="0" scrolling="no"></iframe> | ||
<img src="images/space-final.png"> | ||
</div> | ||
|
||
--- /no-print --- | ||
|
||
--- print-only --- | ||
|
||
 | ||
|
||
--- /print-only --- | ||
|
||
--- collapse --- | ||
--- | ||
title: Що тобі знадобиться | ||
--- | ||
|
||
### Обладнання | ||
|
||
- Комп'ютер, що підтримує Скретч 3 | ||
|
||
### Програмне забезпечення | ||
|
||
- Скретч 3 ([онлайн](https://rpf.io/scratchon){:target="_blank"} або [офлайн](https://rpf.io/scratchoff){:target="_blank"}) | ||
|
||
### Завантаження | ||
|
||
- Немає | ||
|
||
--- /collapse --- | ||
|
||
--- collapse --- | ||
--- | ||
title: Чого ти навчишся | ||
--- | ||
|
||
- Використовувати цикл для анімації персонажа в Скретч | ||
- Використовувати нескінченний цикл для нескінченної анімації персонажа в Скретч | ||
- Побачиш, що цикли можуть бути вкладені одне в одного | ||
|
||
--- /collapse --- | ||
|
||
--- collapse --- | ||
--- | ||
title: Додаткова інформація для викладачів | ||
--- | ||
|
||
Якщо вам потрібно надрукувати цей проєкт, скористайтеся [версією для друку](https://projects.raspberrypi.org/uk-UA/projects/lost-in-space/print){:target="_blank"}. | ||
|
||
Ви можете знайти [завершений проєкт тут](https://rpf.io/p/uk-UA/lost-in-space-get){:target="_blank"}. | ||
|
||
--- /collapse --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Що далі? | ||
|
||
Try the [Ghostbusters](https://projects.raspberrypi.org/uk-UA/projects/ghostbusters?utm_source=pathway&utm_medium=whatnext&utm_campaign=projects) project! In that project, you will learn how to create a game with ghosts that appear all over the place and that you need to catch. You will also learn how to add a timer and a score to the game, so that you can see how many ghosts you are able to catch. | ||
|
||
--- no-print --- | ||
|
||
<div class="scratch-preview"> | ||
<iframe allowtransparency="true" width="485" height="402" src="https://scratch.mit.edu/projects/embed/276874679/?autostart=false" frameborder="0" scrolling="no"></iframe> | ||
<img src="images/ghostbusters-static.png"> | ||
</div> | ||
|
||
--- /no-print --- | ||
|
||
--- print-only --- | ||
|
||
 | ||
|
||
--- /print-only --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
## Анімація космічного корабля | ||
|
||
Твоїм першим кроком буде створення космічного корабля, що летить до Землі! | ||
|
||
--- task --- | ||
|
||
Відкрий новий проєкт Скретч. | ||
|
||
**Онлайн:** відкрий новий онлайн проєкт Скретч на [rpf.io/scratch-new](https://rpf.io/scratchon){:target="_blank"}. | ||
|
||
**Офлайн:** відкрий новий проєкт в офлайн-редакторі. | ||
|
||
Якщо тобі треба завантажити та встановити офлайн-редактор Скретч, ти можеш його знайти на [rpf.io/scratchoff](https://rpf.io/scratchoff){:target="_blank"}. | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Додай спрайти rocketship («космічний корабель») та Earth («Земля») на Сцену. | ||
|
||
 | ||
|
||
[[[generic-scratch3-sprite-from-library]]] | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Додай тло Stars («Зірки») на Сцену. | ||
|
||
 | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Натисни на спрайт космічного корабля, а далі перейди на вкладку **Образи**. | ||
|
||
 | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Використовуй інструмент **стрілка**: клікни та потягни, поки зображення космічного корабля не опиниться в рамці. Потім натисни на круглий значок **обернути** та обертай зображення, поки воно не опиниться на боці. | ||
|
||
 | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Додайте цей код у свій спрайт космічного корабля: | ||
|
||
 | ||
|
||
```blocks3 | ||
when flag clicked | ||
point in direction (0) | ||
go to x:(-150) y:(-150) | ||
say [Поїхали!] for (2) seconds | ||
point towards (Earth v) | ||
glide (1) secs to x:(0) y:(0) | ||
``` | ||
|
||
Зміни числа в блоках з кодом, щоб код був точно таким, як показано вище. | ||
|
||
--- /task --- | ||
|
||
Коли ти натиснеш на зелений прапор, то космічний корабель заговорить, поверне і почне ковзати в напрямку центру сцени. | ||
|
||
 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Завдання: вдоскональ свою анімацію | ||
|
||
Чи можеш ти змінити числа в коді анімації так, щоб: | ||
|
||
+ Космічний корабель рухався, поки він не торкнеться Землі? | ||
+ Космічний корабель рухався до Землі повільніше? | ||
|
||
Тобі потрібно буде змінити числа в цьому блоці: | ||
|
||
 | ||
|
||
```blocks3 | ||
glide (1) secs to x:(0) y:(0) | ||
``` | ||
|
||
[[[generic-scratch3-coordinates]]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
## Анімація за допомогою циклів | ||
|
||
Зробити анімацію руху космічного корабля можна й по-іншому: наказавши йому рухатися малими відрізками багато разів | ||
|
||
--- task --- | ||
|
||
Видали із свого коду блок `ковзати`{:class="block3motion"}. Щоб це зробити, перетягни його із вкладки Код назад до інших одиночних блоків. | ||
|
||
 | ||
|
||
```blocks3 | ||
when flag clicked | ||
point in direction (0) | ||
go to x:(-150) y:(-150) | ||
say [Поїхали!] for (2) seconds | ||
point towards (Earth v) | ||
- glide (1) secs to x:(0) y:(0) | ||
``` | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Тепер використай блок `повторити`{:class="block3control"}, щоб перемістити космічний корабель до Землі. | ||
|
||
 | ||
|
||
 | ||
|
||
```blocks3 | ||
when flag clicked | ||
point in direction (0) | ||
go to x:(-150) y:(-150) | ||
say [Поїхали!] for (2) seconds | ||
point towards (Earth v) | ||
+ repeat (200) | ||
move (2) steps | ||
``` | ||
|
||
Перевір та збережи свій код. Твій космічний корабель повинен рухатися в напрямку Землі так само, як раніше, але на цей раз за допомогою блоку `повторити`. | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Далі додай код до спрайту космічного корабля, щоб він міняв колір, рухаючись до Землі. | ||
|
||
Використовуй цей блок: | ||
|
||
 | ||
|
||
```blocks3 | ||
when flag clicked | ||
point in direction (0) | ||
go to x:(-150) y:(-150) | ||
say [Поїхали!] for (2) seconds | ||
point towards (Earth v) | ||
repeat (200) | ||
move (2) steps | ||
+ change [color v] effect by (25) | ||
``` | ||
|
||
Протестуй та збережи свій код. | ||
|
||
 | ||
|
||
--- /task --- | ||
|
||
--- task --- | ||
|
||
Чи можеш ти зробити так, щоб космічний корабель зменшувався при русі до Землі? | ||
|
||
--- hints --- | ||
|
||
--- hint --- | ||
|
||
Спочатку твій космічний корабель повинен мати `розмір 100`{:class="blocklooks"}, а далі `змінюй розмір`{:class="blocklooks"} на невелике значення кожного разу, коли він переміщується. | ||
|
||
--- /hint --- | ||
|
||
--- hint --- | ||
|
||
Тобі треба буде додати наступні блоки до свого коду: | ||
|
||
 | ||
|
||
```blocks3 | ||
change size by (10) | ||
set size to (100) % | ||
``` | ||
|
||
--- /hint --- | ||
|
||
--- hint --- | ||
|
||
Твій код повинен виглядати так: | ||
|
||
 | ||
|
||
```blocks3 | ||
when flag clicked | ||
+ set size to (100) % | ||
point in direction (0) | ||
go to x:(-150) y:(-150) | ||
say [Поїхали!] for (2) seconds | ||
point towards (Earth v) | ||
repeat (200) | ||
move (2) steps | ||
change [color v] effect by (25) | ||
+ change size by (-0.3) | ||
``` | ||
|
||
--- /hint --- | ||
|
||
--- /hints --- | ||
|
||
--- /task --- | ||
|
||
Перевір та збережи свій код. Тепер твій космічний корабель має зменшуватися при русі. Перевір свій космічний корабель **іще раз**. Чи правильний у нього розмір на початку? | ||
|
||
 |
Oops, something went wrong.