我需要帮助!如何开始制作游戏? [英] I Need Help Please!! How Do I Start Off To Make A Game?

查看:78
本文介绍了我需要帮助!如何开始制作游戏?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是高中的学生。在他的第二年计算机编程。对于我的高潮活动,我需要制作一个游戏,我选择制作Lunar Lander。我做了简单的应用程序和简单的游戏,如乒乓球。我只是觉得我没有学到足够的东西来制作这样的游戏。



任何人都可以帮助我如何编码以及如何启动它。



请帮助?

I am a student in highschool. In his second year of computer programming. For my culminating activity i need to make a game and i chose to make "Lunar Lander". Ive made simple applications and simple games like pong. I just don't think that i learned enough to make a game like this.

Can anyone help of how i can code this and how to start it.

Please Help?

推荐答案

好吧,在你的乒乓球游戏中,你有一个球并且移动它屏幕?



所以,拿你的球假装它是你的月球着陆器。



得到它从屏幕的顶部移动到底部,在X方向上没有移动。



现在由于重力使其加速



现在让它撞到地面(即碰撞检测)



现在添加一个电机 - 降低它的垂直速度



现在为电机添加有限的燃料



现在添加左右移动(如果你有信心,可以这样做)通过旋转飞行器,如果没有,使用两个按键 - 每个按键向左或向右发射一个推进器。



现在,让你的球更漂亮,添加声音,得分和如果你有时间的东西



祝你好运
Well, in your pong game you had a ball and moved it around the screen?

So, take your ball and pretend it is your lunar lander.

Get it moving from the top to the bottom of the screen with no movement in the X direction.

Now make it accelerate due to 'gravity'

Now make it hit the ground (i.e. collision detection)

Now add a motor - which reduces it's vertical velocity

Now add limited fuel for the motor

Now add movement right and left (if you're confident, do this by rotating the craft, if not, use two keys - one each to fire a thruster left or right)

Now, make your ball prettier, add sound, score and stuff if you have time

Good luck


这篇关于我需要帮助!如何开始制作游戏?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆