3个简单的运动积木
-
先修科目
介绍
“到中心”、“前进”、“后退”这三个积木属于运动类别的堆栈积木。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/33db7051-2381-4e0e-945d-a8b48d55c44c.png" width="500" style="">
积木:“到中心”
这个积木使角色移动到舞台中心。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/d936bf0b-87d7-453d-8bf5-0d0e608fe142.gif" width="755" style="border-radius: 5px; border: 1px solid #29622d;">
积木:“前进”
这个积木使角色沿当前方向向前运动。
注意:角色默认朝向右。https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/8aab7a9c-6604-4987-8363-60e31df4a06e.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
积木:“后退”
该积木使角色后退,方向与角色的朝向相反。所以,如果角色朝向下,“后退”将会使角色向上运动。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/bbe5c585-769f-47c3-8b6a-dbcb38582844.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
到舞台边缘则停止
如果你点击多次“前进”、“后退”,将会使角色一直运动,直到碰到舞台边缘。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/88c08b2a-0c45-4a86-a593-195ce5dac672.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
小技巧:重新回中心
运行项目后,角色的位置常常就变了。可以紧跟着绿旗积木后面放积木“到中心”,使角色重新回到中心位置。
https://cdncreaticodecom.b-cdn.net/scratch-gui-projects/forum/7e83afd4-9d39-4234-aa1e-59340effd8f5.gif" width="800" style="border-radius: 5px; border: 1px solid #29622d;">
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login