1.课程回顾 #
1.1 克隆功能 #
克隆体可以作为独立的个体执行具体的代码
使用克隆可简化程序编写,减少重复代码
![](https://dashima.net/wp-content/uploads/2021/05/image-69.png)
1.2 双重循环 #
双重循环:
一个循环外面套了另外一个循环
外面一层循环我们称它为外层循环,里面一层循环我们称它为内层循环
运行过程:先内后外
![](https://dashima.net/wp-content/uploads/2021/04/2-13.png)
1.3 变量的使用 #
变量名称可以任意修改;
变量名最好与变量值是相关的。
全局变量:适用于所有角色
角色变量:仅使用于当前角色
![](https://dashima.net/wp-content/uploads/2021/04/3-11.png)
![](https://dashima.net/wp-content/uploads/2021/04/4-11.png)
1.4 方向控制 #
在循环过程中,添加控制判断
每次调整方向后再进行运动
![](https://dashima.net/wp-content/uploads/2021/04/5-11.png)
1.5 绘制功能 #
使用圆形工具绘制圆形
使用变形实现将图像变形,实现不规则图像绘制
![](https://dashima.net/wp-content/uploads/2021/04/6-11-1024x318.png)
练习
Giga手上拿着气球;
程序运行后,Giga在原地跳舞;
当气球被点击,气球向天空飘走;
飘到舞台最顶部,程序停止。
![](https://dashima.net/wp-content/uploads/2021/04/7-9.png)
2.创建背景与知识点 #
2.1 学习目标 #
![](https://dashima.net/wp-content/uploads/2021/05/image-64.png)
2.2 课堂任务 #
为人子,方少时,亲师友,习礼仪。
融四岁,能让梨,弟于长,宜先知。
孔融兄弟七人,他排行第六。
在他四岁时,每次兄弟们一起食梨,哥哥们都拿大的,他却总是拣小的。
家中大人问他缘故,他回答说:“我小儿,法当取小者”。
为此,他受到孔氏宗族的夸赞。
![](https://dashima.net/wp-content/uploads/2021/04/9-1024x576.jpeg)
2.3 作品分析 #
1 舞台中的角色有哪些?
2 作品的整体流程是怎样的?
3 动画效果是如何实现的?
本节课用到的角色、背景
![](https://dashima.net/wp-content/uploads/2021/05/3-1024x576.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/4.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/5.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/6.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/7.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/8.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/9.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/10.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/11.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/12.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/14.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/13.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/20.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/19.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/18.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/17.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/16.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/15.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/计时背景.png)
![](https://dashima.net/wp-content/uploads/2021/04/倒计时3-13.png)
![](https://dashima.net/wp-content/uploads/2021/04/倒计时2-15.png)
![](https://dashima.net/wp-content/uploads/2021/04/倒计时1-14.png)
![](https://dashima.net/wp-content/uploads/2021/04/封面.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/23.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/22.jpg)
![](https://dashima.net/wp-content/uploads/2021/04/21.jpg)
![](https://dashima.net/wp-content/uploads/2021/05/2-1024x576.jpg)
![](https://dashima.net/wp-content/uploads/2021/05/1-1024x576.jpg)
3 编程思维与步骤 #
3.1 编程思想 #
![](https://dashima.net/wp-content/uploads/2021/04/11-14.png)