![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
こんにちは!
「ステップアップドリル:変数ブロックの使い方入門」に ようこそ!
「スクラッチしよう!楽しく学ぶプログラミング教室」の担任ラッチです。
![スック](https://scratchsiyou.com/wp-content/uploads/2022/01/sukku_futu-300x300.png)
スック
スックだよ!
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
今回の「ステップアップドリル」で作る作品は、こちら!
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-gif2-1.gif)
![スック](https://scratchsiyou.com/wp-content/uploads/2022/01/sukku_futu-300x300.png)
スック
あっ!
最高タイムが 出た!
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
最高タイムの表示は、
![「変数」ブロック表示](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-explanation3.png)
変数ブロックで
![「変数:タイマー」ブロック](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-explanation4-1.png)
![「変数:最高タイム」ブロック](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-explanation5.png)
作っているんだ
今回作るスクラッチの作品は、これっ!
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch タイムを計る](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-gif5-1.gif)
![スック](https://scratchsiyou.com/wp-content/uploads/2023/05/sukku_ok-300x300.png)
スック
よぉーし。
最高タイムを ねらうぞ!
今回のプログラミングで 学ぶことは
1.ゴールまでのタイムを計る スクリプトが わかるよ
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch タイムを計る](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-gif7.gif)
2.最高タイムが出たら 表示するスクリプトが わかるよ
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch 最高タイムを表示する](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-gif8.gif)
プログラミングの仕方を説明します
ゴールまでのタイムを計るプログラミング
1.ゴールまでのタイムを計る スクリプトが わかるよ
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch タイムを計る](https://scratchsiyou.com/wp-content/uploads/2023/05/scratchdrill05-gif7.gif)
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
最初に、スプライト「ねっちボール」と 背景「コース」を 作ります
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch スプライト](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation13-800x454.png)
![スック](https://scratchsiyou.com/wp-content/uploads/2023/01/sukku_futu-300x300.png)
スック
スプライト「ねっちボール」の大きさは「50」
作り方は、こちらの動画を 見てね
フリーBGM:DOVA-SYNDROME 午後のカメレオンは星の波動を数え… written by Masuo
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
スプライト「ゴール」は、
![スプライト「Rainbow」](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation14.png)
「Rainbow」を 追加しました
大きさは「50」です。
![スック](https://scratchsiyou.com/wp-content/uploads/2023/01/sukku_futu-300x300.png)
スック
背景「コース」の作り方は、
こちらの動画を 見てね
フリーBGM:DOVA-SYNDROME 午後のカメレオンは星の波動を数え… written by Masuo
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
最初に、
スプライト「ねっちボール」と「ゴール」を
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch スプライト「ねっちボール」](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation15.png)
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch スプライト「ゴール」](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation16.png)
スタートと ゴールに 表示します。
1.「ねっちボール」と「 ゴール」を スタートとゴール位置に 置く
![「スクラッチしよう!8-05 ステップアップドリル:最高タイムをめざせ!」 scratch 最初の場所](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation20-800x583.png)
![スック](https://scratchsiyou.com/wp-content/uploads/2023/01/sukku_futu-300x300.png)
スック
スタートと ゴールの位置は、
自分で作ったコースで 決めてね
![ラッチ先生](https://scratchsiyou.com/wp-content/uploads/2021/12/ratch_kao_dounaru.png)
ラッチ先生
「○へ向ける」ブロックを 使って
![「○へ向ける」ブロック](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation21.png)
ねっちを 指で動かせるようにします。
![スック](https://scratchsiyou.com/wp-content/uploads/2023/01/sukku_futu-300x300.png)
スック
緑の旗をクリックすると
ねっちボールが すぐ動いちゃうから
「○秒待つ」ブロックで
![「○秒待つ」ブロック](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-explanation38.png)
1秒経ってから スタートするようにしたよ
2.ねっちボールを 指で 動かす
![](https://scratchsiyou.com/wp-content/uploads/2023/06/scratchdrill05-gif10-1.gif)
![スック](https://scratchsiyou.com/wp-content/uploads/2023/05/sukku_are-1-300x300.png)
スック
あらら…
ねっちボールが コースから 外れるねぇ…
コメント