Scratch programming (2)

Scratch programming (2)

2017/05/04(Thu)

日本語版へ 次のページへ


Let's use Scratch today!
The title is "Activate the broken cat" (not "Activate the broken fish" in the NHK program).

Click the cat below.


Click one of red squares, "やってみる (cat picture)" or "作る".
レゴ、SCR0008


Appear the picture below.
レゴ、SCR0008


Drag "10歩動かす" like as the red arrow.
レゴ、SCR0008


You made "10歩動かす" successfully.
レゴ、SCR0008


Click "イベント". Drag "Flagがクリックされたとき" like as the red arrow.
レゴ、SCR0008


You added "Flagがクリックされたとき" successfully.
レゴ、SCR0008


Click Flag, then the cat moves slightly. (Can you detect the small change???)
レゴ、SCR0008


To move it more, click "制御" and drag "ずっと" like as
the red arrow.
レゴ、SCR0008


For details, insert "ずっと" between "はたがクリックされたとき" and "10歩動かす".
レゴ、SCR0008


Can you make it like the picture below?
レゴ、SCR0008


Then, click "動き".
レゴ、SCR0008


If you scroll down, you can watch "もし端についたら、跳ね返る". Drag "もし端についたら、跳ね返る" like as the red arrow.
レゴ、SCR0008


For details, insert "もし端についたら、跳ね返る" between "10歩動かす" and bottom of "ずっと".
レゴ、SCR0008


Can you make it like the picture below?
レゴ、SCR0008


Click Flag, then the cat will move.
レゴ、SCR0008


However, the cat must be upside-down when it goes back.
レゴ、SCR0008


To correct upside-down, drag "回転方法を左右のみにする" like as the red arrow.
レゴ、SCR0008


For details, insert "回転方法を左右のみにする" between "Flagがクリックされたとき" and "ずっと".
レゴ、SCR0008


Can you make it like the picture below?
レゴ、SCR0008


Click Flag to activate the cat. Can you make it when the cat goes back?
レゴ、SCR0008


That's all for today. continue.

自分の英語の練習のため、英文ブログも書いていきたいと思っています。