我想写一个关于“使用划痕设计赛车游戏”主题的项目。 [英] I want to write a project on the topic "design a car race game using scratch"
本文介绍了我想写一个关于“使用划痕设计赛车游戏”主题的项目。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请问在这类主题中我需要写些什么? 使用Scratch设计赛车游戏的实现
我尝试过:
我尝试启动它的介绍部分
Pls what are the things I need to write in this type of topic? "Design an implementation of a car race game using Scratch"
What I have tried:
I tried starting the introductory part of it
推荐答案
步骤1:创建一辆赛车的精灵,然后制作三份副本。 />
在第一个副本上使轮子指向左边,在第三个副本上使它们指向右边。
恰当地命名它们。
步骤2:在绿色填充矩形(草)上使背景图像成为黑色椭圆(轨道)
步骤3:选择两个键左右。 Z和X是传统的。
步骤4:如果按下z,则创建旋转三个精灵+5度的代码,如果按下x则旋转-5度。 br />
步骤5:在循环中,向前移动然后暂停(比如说)十分之一秒
步骤6:如果精灵下面的颜色是绿色,那么游戏就会发生大崩溃
Step 1: Create a sprite of a racing car then make three copies of it.
On the first copy make the wheels point left, and on the third copy make them point right.
Name them appropriately.
Step 2: Make the background image a black oval (the track) on a green filled in rectangle (the grass)
Step 3: Select two keys for left and right. Z and X are traditional.
Step 4: Create the code to rotate the three sprites +5 degrees if z is pressed and -5 degrees if x is pressed.
Step 5: In a loop, move forward then pause for (say) a tenth of a second
Step 6: If the colour under the sprite is green end the game with a big crash
这篇关于我想写一个关于“使用划痕设计赛车游戏”主题的项目。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文