Sprites In Action
-
0:00 - 0:00音樂
-
0:04 - 0:06音樂
-
0:07 - 0:09既然你已經學會瞭如何使用Sprite Lab
-
0:09 - 0:11你會想要製作你的程序
-
0:11 - 0:13當有人玩它時 程序就會有反應
-
0:13 - 0:14要做到這一點
-
0:14 - 0:18你會使用事件塊 比如當點擊
-
0:18 - 0:22觸摸時被稱為事件塊
-
0:22 - 0:26連接到事件塊的代碼 當遇到適當的輸入
-
0:26 - 0:28比如點擊或觸碰時
-
0:28 - 0:28就會檢測到
-
0:32 - 0:33例如
-
0:33 - 0:40如果你附加這個改變大小塊連接到外星人點擊的事件塊上
-
0:40 - 0:42當外星人被點擊時 精靈大小會改變
-
0:50 - 0:53請注意 事件塊並沒有插入主程序
-
0:53 - 0:54相反
-
0:54 - 0:56他們創建自己的小程序
-
0:57 - 0:58記住
-
0:58 - 1:01即使這個事件雖然只發生了一次
-
1:01 - 1:03但是直到你告訴他們停止時 事件才會消失
-
1:05 - 1:10如果不希望多個事件組合行為 可以使用stop塊
-
1:30 - 1:30音樂
-
1:32 - 1:33使用事件
-
1:33 - 1:37你可以創造富有想像力的節目和互動世界
-
1:37 - 1:37試試吧
- Title:
- Sprites In Action
- Description:
-
Start learning at http://code.org/
Stay in touch with us!
• on Twitter https://twitter.com/codeorg
• on Facebook https://www.facebook.com/Code.org
• on Instagram https://instagram.com/codeorg
• on Tumblr https://blog.code.org
• on LinkedIn https://www.linkedin.com/company/code-org
• on Google+ https://google.com/+codeorg - Video Language:
- English
- Team:
- Code.org
- Project:
- CSF '21-'22
- Duration:
- 01:46
TranslateByHumans edited Chinese, Traditional subtitles for Sprites In Action |