3D游戏编程 [英] 3-d game programming

查看:87
本文介绍了3D游戏编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

他们使用什么编程语言/语言来制作游戏,例如《生物时代》的《龙腾世纪起源》和其他《使命召唤》等3D游戏?

what programming language/languages do they use to produce games lik Bioware's Dragon Age Origins and some other 3-d games like Call of Duty?

如果我想进行3D游戏编程,我应该从哪里开始?甚至有简单的教程吗?我想为PC游戏做3D游戏编程:)

If I would like to do 3d-game programming, where do I start? Are there even simple tutorials for this? I would like to do 3-d game programming for PC games:)

推荐答案

我不想让人沮丧,但我也不想说谎.创建甚至最简单的2D游戏也是一项重大成就.如果您要自己编写游戏代码,则可能需要学习以下内容:

I don't want to be discouraging, but I don't want to lie either. Creating even the simplest 2D game is a major feat. Here are some things you'll probably have to learn, if you're going to code a game on your own :

  • 计算机图形学中使用的一般概念和技术.
  • 网络编程(如果适用)
  • 音频编程和数字信号处理理论.
  • 数学中的线性代数,三角学和几何分支
  • 人工智能概念,例如模糊逻辑,有限状态机或神经网络.

更不用说您需要扎实的编程背景.大多数大型游戏开发人员都使用C ++,这在性能至关重要的情况下是一个不错的选择.但是一种尺寸并不适合所有尺寸.我建议您研究一下C ++,Python和Java,并弄清楚您要使用哪一种.

Not to mention you need a solid background in programming. Most of the bigger game developers use C++, which is a decent choice when performance is of the essence. But one size doesn't fit all. I recommend you look at C++, Python and Java and figure out which one you like to use.

现在,这可能令人失望,但是需要说.如果您刚开始编程,那么很长一段时间都不会制作3D游戏.我在2002年学习C ++,但我仍然学习使用编程语言的新方法.有很多名为在Y周内自学X编程语言的书.不要相信谎言.在这段时间内,没有人能学到任何复杂的东西.我要说的是,不要着急!耐心就是一切,没有免费的午餐之类的东西.

Now, this might come as a disappointment, but it needs to be said. If you're just starting out with programming, you're not going to make a 3D game for a long time. I learned C++ back in 2002 and I still learn new ways to use the programming language. There's a lot of books named Teach yourself programming language X in Y weeks. Don't believe the lie. There is no way one can learn anything that complex within that timespan. What I'm trying to say is, don't be in a hurry! Patience is everything, and there is no such thing as a free lunch.

当您终于有了制作游戏的知识时,请从简单开始.即使编写使用ascii艺术图形的Nethack克隆代码,也可以为您带来新的体验.您的第一个游戏应该是2D.在二维中进行操作要简单得多,并且当您准备进一步改进时,涉及的许多数学都可以很好地扩展到三个维度.

And when you finally have the knowledge to make a game, start simple. Even coding a Nethack clone which uses ascii art graphics gives you new experience you can extend on. And your first games should be 2D. Working in two dimensions is much simpler, and a lot of the math involved extends nicely to three dimensions when you are ready to advance further.

这篇关于3D游戏编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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