1.课程回顾 #
1.1 等待积木指令 #
控制-》等待()
![](https://dashima.net/wp-content/uploads/2021/05/image-7.png)
需要与其他积木组合使用
![](https://dashima.net/wp-content/uploads/2021/04/2-7.png)
1.2 条件判断+侦测 #
条件判断+侦测方向
![](https://dashima.net/wp-content/uploads/2021/04/3-5.png)
1.3 重复执行直到 #
重复执行直到-积木指令也属于条件判断
可以在菱形区域插入侦测或运算等积木指令
![](https://dashima.net/wp-content/uploads/2021/04/4-4.png)
1.4 小猫走楼梯 #
1.初始化-位置、大小、方向
![](https://dashima.net/wp-content/uploads/2021/04/5-4.png)
![](https://dashima.net/wp-content/uploads/2021/04/6.gif)
1.5 向左下方移动 #
2.沿着第一段楼梯移动
1)检测到第一个楼梯拐角的坐标
2)小猫移动时X\Y坐标同时减小
3)重复移动,直到坐标小于某个值
![](https://dashima.net/wp-content/uploads/2021/04/6-5.png)
1.6 向右下方移动 #
3.沿着第二段楼梯移动
1)X坐标增加
2)Y坐标减小
3)重复移动,直到Y坐标小于某个值
4.到达平地,面向90移动
![](https://dashima.net/wp-content/uploads/2021/04/7-3.png)
2.学习目标与任务 #
2.1 学习目标 #
![](https://dashima.net/wp-content/uploads/2021/05/image-8.png)
2.2 故事背景 #
有没有小朋友看过西游记呀?
还记得每当孙悟空要去搬救兵时,就给唐僧画出一个圈,来防止妖怪伤害唐僧师徒。
![](https://dashima.net/wp-content/uploads/2021/04/9-3.png)
2.3 课堂任务 #
这节课我们尝试来画个魔力圆圈,让在这个圈内的小动物沿着我们画的圆圈移动。
![](https://dashima.net/wp-content/uploads/2021/04/10.gif)
2.4 作品分析 #
1 舞台上有哪些角色呢?
2 背景是怎么变化的?
3 甲壳虫是如何被施了魔法的?
4 两只甲壳虫碰到后又如何移动?
2.5 新积木块 #
侦测-》颜色碰到颜色
运算-》在()和()之间取随机数
![](https://dashima.net/wp-content/uploads/2021/04/10-6.png)