手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

怎样用scratch编制打动物游戏

时间:2024-10-14 08:34:00

1、启动scratch,进入工作界面;

怎样用scratch编制打动物游戏

2、点舞台,再点多个背景;

怎样用scratch编制打动物游戏

3、点导入,在导入背景里选择Sports(运动)文件夹;

怎样用scratch编制打动物游戏

4、在运动文件夹里选择一张图片,然后按确定;

怎样用scratch编制打动物游戏

5、图片导入到scratch背景中;

怎样用scratch编制打动物游戏

6、在舞台上用圆形工具画一些黑色的小坑;

怎样用scratch编制打动物游戏

7、编写舞台的脚本如下;

怎样用scratch编制打动物游戏

8、绘制火花和锤子,锤子有两种造型(举起和放下);

怎样用scratch编制打动物游戏
怎样用scratch编制打动物游戏
怎样用scratch编制打动物游戏

9、给火花添加脚本如下 ;

怎样用scratch编制打动物游戏

10、给锤子添加脚本如下 ;

怎样用scratch编制打动物游戏

11、给小猫添加脚本如下;

怎样用scratch编制打动物游戏

12、用同样的方法添加其它动物,并编写好脚本,脚本与小猫的脚本一样;

怎样用scratch编制打动物游戏

13、程序编写完毕,点绿旗开始运行,按红色按钮停止。

怎样用scratch编制打动物游戏
© 手抄报圈