本文介绍了什么语言最适合游戏编程和哪个游戏引擎的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进入编程所以我可以编程游戏。首先我只是想制作像Astaroids这样的简单游戏。现在我想学习制作专业游戏。

我仍​​然不是甚至足够被称为菜鸟但是,我正在挣扎...

我应该学习什么语言的游戏程序设计?

我也喜欢玩PC游戏而且我在挣扎游戏引擎之间的区别是什么?和图形引擎和物理引擎?是否有一个音频引擎?

Ty用于阅读此内容。

I got into programming so i could program games.At first i just wanted to make simple games like Astaroids and stuff.Now I would like to learn to make Pro games.
I still am not even good enough to be called a noob but,i was woundering...
what language should i learn for gameprogramming?
Also i love playing PC game and i was woundering what is the difference Between the "Game Engine" and the "graphics engine" and the "physics engine"? And is there a "audio engine"?
Ty for reading this.

推荐答案



据我所知,所有或至少大部分商业游戏都是用C或C ++编程的,但如果C ++起初看起来太混乱,那也不错想要学习更简单的语言,如python或其他东西。即使你懂一种语言,也不要再学习另一种语言。另外,您最舒适的平台是什么?如果您喜欢Windows,可以使用DirectX和Direct3D。您也可以尝试SDL,我认为这更容易和多平台。

As far as I know, all or at least most of the commercial games are programmed with C or C++ but if C++ seems too confusing at first it is not a bad idea to learn an easier language like python or something else. And even if you know one language, don''t be afriad to learn another. Also, what kind of platform are you most comfortable with? If you like Windows, you can use DirectX and Direct3D. You could also try SDL which I think is easier and multi-platform.





在非常高的水平上这是真的。有不同的组件决定游戏中的逻辑。但这要复杂得多。当人们谈论像havok和quake这样的物理引擎时,他们实际谈论的是一种中间件,它们可以让他们计算游戏中物体的路径,使其更接近现实生活。例如,如果我想创建一个投掷棒球的角色,我可以用新生级物理方程来描述棒球运动。我可以将这些公式输入到我的游戏中,或者在物理引擎上调用它来为我完成。你可以想象如果超过1或2个字符正在运行,跳跃和射击的东西,物理引擎将是多么有用。


游戏引擎是一个不同的动物。当人们谈论游戏引擎时,他们通常会谈论整个事情:客户端,服务器,物理,脚本和机制,以及更多。


如果你想进入游戏,请查看DirectX SDK并开始学习教程。

At a very high level this is true. There are different components that dictate the logic in a game. But it is much much more complicated then this. When people talk about physics engines like havok and quake what they are actually talking about is a type of middle ware that will allow them to calculate the path of objects in the game to more closely resemble real life. For example if I wanted to create a character that was throwing a baseball, I could describe that baseballs movement given freshmen level physics equations. I could input those formulas into my game or call on a physics engine to do it for me. You can imagine how useful a physics engine would be if more then 1 or 2 characters were running, jumping and shooting stuff.

A game engine is a bit of a different animal. When people talk about game engines they are usually talking about the whole thing: client, server, physics, scripting and mechanics, plus more.

If you want to get into games, check out the DirectX SDK and start working through the tutorials.


这篇关于什么语言最适合游戏编程和哪个游戏引擎的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-27 13:35
查看更多