1.以下是战机的素材,希望通过代码实现战机在舞台下方出现,战机的大小为15,位置为X:8,Y:-138。战机出现后我们能够通过上下左右键控制战机能够上下左右移动。
1

参考答案

2. 以下是子弹的素材,希望通过代码实现子弹在战机处出现,子弹的大小为40,战机在移动的过程中按下空格键能够发射多颗子弹,子弹移动到舞台上方时消失。
2

参考答案

3. 以下是敌机的素材,希望通过代码实现多架敌机在舞台最上方随机出现,敌机的大小为10-12,位置为X:(-192至192),Y:180。敌机会向下移动,直到碰到最下方的舞台边缘时消失
3

参考答案

本周作业
运用上周的项目,希望能够通过代码实现以下事情:
1.实现敌机在移动的过程中碰到子弹,敌机会消失。
2.实现子弹在移动的过程中碰到敌机,子弹会消失。
参考答案
1 答案点击下方空白处

后记,小编朋友公司研发了一个游戏化的少儿编程在线课程(5-12岁),游戏化教学结合scratch(一款在线少儿编程工具,类似乐高的积木拼搭),我家娃娃学了几次课,非常喜欢(超预期),16次课才200多块钱,对锻炼孩子的思维能力和动手动力很有帮助。
声明:转载此文是出于传递更多信息之目的。若有来源标注错误或侵犯了您的合法权益,请作者持权属证明与本网联系,我们将及时更正、删除,谢谢。