网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

怎样用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编制打动物游戏
© 2025 一点资料
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com