---
# System prepended metadata

title: Scratch 上課筆記 2020
tags: [scratch初級, scratch初級2020]

---

# Scratch 上課筆記 2020
## 1/8 & 15上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級`


:::info
### 今日內容
複習

如何分享->帳戶設定->綁定電子信箱->在專案頁面分享

![](https://i.imgur.com/oP0mY5j.png)
![](https://i.imgur.com/6zXRmR7.png)
![](https://i.imgur.com/ulGs7LF.png)

:::

## 12/25 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`


:::info
### 今日內容
複習

如何分享???


:::


## 12/11 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`


:::info
### 今日內容
六年級：乒乓球
https://scratch.mit.edu/projects/227161193
![](https://i.imgur.com/6CzwnLA.png)



五年級：走迷宮
https://scratch.mit.edu/projects/152902346/
![](https://i.imgur.com/CUh1Ztm.png)



:::


## 12/4 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`


:::info
### 今日內容
接蘋果!!!
先看範例:https://scratch.mit.edu/projects/155885897/
![](https://i.imgur.com/aRyAtAi.png)
**碗**：當左/右鍵被點擊時，移動10單位![](https://i.imgur.com/j4YtaVi.png)

**蘋果**：自動下墜，碰到碗變消失; 如果沒接到，則隨機位置重新下墜![](https://i.imgur.com/gid2nDu.png)



:::

## 11/27 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`


:::info
### 今日內容
時間顯示器!!!
先看範例:https://scratch.mit.edu/projects/103004641/


:::

## 11/21 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`


:::info
### 今日內容
今天上猜謎遊戲!!!
先看範例:https://scratch.mit.edu/projects/259995808/


:::
## 11/13 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`




:::info
### 今日內容
大家最喜歡的射擊遊戲!!!
先看範例:https://scratch.mit.edu/projects/56105/
![](https://i.imgur.com/lmjIYQC.png)


:::



## 11/06 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: `scratch初級2020`
:::info
### 今日內容
直接實做一個鋼琴!!!
先看範例:https://scratch.mit.edu/projects/10012676/
![](https://i.imgur.com/rQ19mb0.png)

:::

## 10/30 上課教材
$對象:隘門國小\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 講師:林宏儒$
###### tags: scratch
:::info
### scratch 簡介
Scratch是美國麻省理工學院(MIT)設計協助8-16歲的兒童學習創意思考、協同合作及系統性思考，所發展的一套開源的程式設計自由軟體。

Scratch將一般<font color=red>專業的程式設計指</font>令轉化為簡單的<font color=red>積木方塊</font>，只要將這些指令積木拖曳+組合，就能簡單的完成程式設計。我們可以使用Scratch來創作互動式故事、遊戲、動畫和音樂等作品，並且可以透過註冊官網（http://scratch.mit.edu）將自己的作品上傳，與全世界分享創意及觀摩優秀作品。
:::
### 元件介紹
![scratch](
https://lh3.googleusercontent.com/proxy/v1EoYIfgBO41lQXvSkyMtN9A8rc7jwlj_-ioqODcz2pGY7vBS6Y-v1fqxwwwtg-M1UmVzMy0rmq3sMzPJOsR9bdTP7HWp0UdPkOwjwkbtlsgJg18FpabcfrBmKWLMzGO-rPV7qLO3q3LrSk)
- <font color=blue>動作</font>　
    * 翻轉
    * 反彈
- <font color=purple>外觀</font>
    * 說話
    * 背景
    * 皮膚
    * 尺寸
- <font color=FF33FB >音效</font>
    * 播放音效
    * 音量
    * 高低音
- <font color=FFE533>事件</font>
    * 開始鍵
    * 條件開始
    * 廣播訊息
- <font color=FFAC33>控制</font>
    * 等待
    * 重複
    * 條件(if...else...)
    * 停止
    * 分身
- <font color=33E6FF>偵測</font>
    * 偵測
    * 計時
- <font color=green>運算</font>
    * $+ - \times \div$
    * 比大小
    * 且 或
    * 餘數 四捨五入 絕對值
- <font color=FF9933>變數</font>
    * 變數
    * 自訂變數 x y z 
- <font color=red>函式積木</font>
    * 自訂函式
    * 移動


### 佳作觀摩
:::success

 https://scratch.mit.edu/projects/432230565/
 ### 物件object:
 ```
    *角色 *背景 *地板 *鏡頭 *字幕 *陷阱
    |_    |_    |_    |_    |_    |_
    |_    |_    |_    |_    |_    |_
    |_    |_    |_
    |_    |_    |_
```
### 關係圖
 ```sequence
角色->陷阱:觸發陷阱
Note right of 陷阱: 
陷阱->角色:
Note right of 角色:

```
:::
:::warning
 https://scratch.mit.edu/projects/420224687/
 ### 物件object:
 ```
 鍋子 碗 水 牛奶 奶油 鹽...... 
 ```
```flow
st=>start: 開始
e=>end: 製作完成
op=>operation: 加牛奶
op2=>operation: 加麵粉
cond=>condition: 是或否加鹽?

st->op->op2->cond
cond(yes)->e
cond(no)->op2
```
:::
:::success
 https://scratch.mit.edu/projects/431196881/
 ```
 甚至沒有物件，只是不斷換背景
 ```
 
:::

### 複習 & 討論
:::danger
以下開放作答 ヽ(ﾟ▽ﾟ*)乂(*ﾟ▽ﾟ)ﾉ
```

```
:::





## 11/13 上課教材
>  待更新
## 11/20 上課教材
>  待更新