【scratch】<图文>学习自制积木让编程更方便
2019-11-26 12:22
自制积木功能

自制积木模块是Scratch3.0中非常有用的一个功能,可以帮助我们将繁复的一些重复使用到的指令编程一个积木块来方便我们使用
我们来看一下怎么自制积木



创建好积木后,我们在定义下将积木所要使用的那些积木块功能放入其中就完成咯,是不是特别简单呐。
舞台表演

今天我们通过一个舞台表演的小作品来操作联系一下自制积木。
在这个作品中的角色和舞台背景素材在软件中自带哦!

我们来自制一个积木块,通过移动和造型的切换,来体现小人表演的效果。

当我们自制完走路这个积木后,在编程中,直接使用就可以了,是不是特别方便,程序也特别少呐。
学习之后来完成小任务吧
1、添加背景与角色;
2、定义跳舞与音乐的积木;
3、角色以10的速度移动,造型也不断切换。
4、当小绿旗被点击之后,角色开始跳舞,同时背景音乐响起。
参考程序

--end--
声明:本文章由网友投稿作为教育分享用途,如有侵权原作者可通过邮件及时和我们联系删除:freemanzk@qq.com