謝旻錚
Scratch and Python 2018 - Lecture 2
Try
HackMD
謝旻錚
·
Follow
Last edited by
謝旻錚
on
Mar 8, 2018
Linked with GitHub
0
Comments
Feedback
Log in to edit or delete your comments and be notified of replies.
Sign up
Already have an account? Log in
There is no comment
Select some text and then click Comment, or simply add a comment to this page from below to start a discussion.
Discard
Send
Scratch and Python 2018 - Lecture 2
Animation
Build-A-Band
The official studio
Loop
Event
Sound
Drum and instruments
Concurrency
Observation: "When key pressed" versus "When this sprite clicked"
See this
project
Race condition
Orange Square, Purple Circle
The official studio
bitmap
versus
vector
Sprite versus costume
Effects
It's Alive
The official studio
Broadcast
Music Video
The official studio
補充教材(變數/清單/廣播)
Debug it!
Debug 2.1
: 希望按下 Scratch Cat 後他會隨鼓聲跳舞,但他沒跳,該怎麼辦?
Debug 2.2
: 希望 Nano 被碰到的時候Pico也要說話,該怎麼辦?
Debug 2.3
: 希望畫個笑臉,目前有一些地方多畫了,該怎麼辦?
Debug 2.4
: 希望花開完了要停下來,該怎麼辦?
Debug 2.5
: 希望生日快樂歌唱完才提示可以吹蠟燭了。
Stories
Characters
Implement small jumps, big jumps, and custom jumps
Conversation
Modification: Use broadcast to trigger the conversation
Scene
Press the left arrow to move to the left
Press the right arrow to move to the right
Press the space bar to jump
Debug it!
Debug 3.1
: Scratch Cat 教 Gobo 喵喵叫,可是輪到 Gobo 練習時,他沒有喵喵叫,該怎麼辦?
Debug 3.2
: 想要設計成輸入一個數字讓 Scratch Cat 數,但他現在每次都是數到 10 ,該怎麼辦?
Debug 3.3
: Scratch Cat 正在幫朋友點名,但是所有事件都在按下綠旗後同時發生了,該怎麼辦?
Debug 3.4
: Scratch Cat 喊 Jump 的時候, Gobo 應該要跳動,但是沒有,該怎麼辦?
Debug 3.5
: 恐龍應該只在禮堂出現並跳舞,可是現在恐龍出現在所有場景,並且不會動,該怎麼辦?
Built-in event blocks do "more"
Example
Delay
Block
Cancel
Alternative
Infinite Loop
Broadcast
: Define your own event!
Task:
Modify
this project
to make Scratch Cat jumping in Mario's style
Reference
Bonus: Rockman X's style
Able to dash
Jump once more
Game
Maze
Pong
Scrolling
Fish Chomp
Task: Display the score
Clone
10 small fish
Task: 5 small fish in different color
Hint: Use color effect
You may only use one sprite for small fish
補充教材(分身)
Puzzles
P1: 當你按下 B 時,角色變大一點。當你按下 S 時,角色變小一點。
P2: 當角色透過網路攝影機看到的畫面變化很大時,換個顏色。
P3: 當角色移動到畫面上方 25% 的區域,會說他喜歡上面。
P4: 當角色碰到藍色時,發出一個高音。當角色碰到紅色時,發出一個低音。
P5: 當角色碰到另外一個角色時,其中一個說「不好意思」。
P6: 當貓角色靠近狗角色時,狗跑離貓。
P7: 當滑鼠點擊一下時,在那邊畫朵花。
P8: 當你點擊一個角色時,其他的角色就跳舞。
P9: 當你移動滑鼠時,角色追著滑鼠跑,但不可以碰到滑鼠。
Debug It!
Debug 4.1
: Scratch Cat 只能撿起筆記型電腦到 Inventory ,請修改程式讓他可以撿起其他東西。
Debug 4.2
: 請改到讓 Scratch Cat 碰到黃色 Gobo 時加 10 分,碰到粉紅 Gobo 時減 10 分。
Debug 4.3
: 請修好這個猜數字遊戲,讓 Scratch Cat 不要在那邊胡說八道。
Debug 4.4
: 請讓球打到 Scratch Cat 一次時,# of hits 只增加 1。
額外要求:讓畫面上有 10 顆球在飛。
Hint: Clone, 分身。
Debug 4.5
: 請修改成不會穿過綠色怪物的版本。
Scratch and Python 2018 - Lecture 2
Animation
Build-A-Band
Orange Square, Purple Circle
It's Alive
Music Video
補充教材(變數/清單/廣播)
Debug it!
Stories
Characters
Conversation
Scene
Debug it!
Built-in event blocks do "more"
Task:
Game
Maze
Pong
Scrolling
Fish Chomp
補充教材(分身)
Puzzles
Debug It!
Expand all
Back to top
Go to bottom
Scratch and Python 2018 - Lecture 2
Animation
Build-A-Band
Orange Square, Purple Circle
It's Alive
Music Video
補充教材(變數/清單/廣播)
Debug it!
Stories
Characters
Conversation
Scene
Debug it!
Built-in event blocks do "more"
Task:
Game
Maze
Pong
Scrolling
Fish Chomp
補充教材(分身)
Puzzles
Debug It!
Expand all
Back to top
Go to bottom
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up
Comment