2010 年 3D 游戏编程 - 从哪里开始?
几年前我涉足了一些游戏编程。我开始使用 Windows Xp、C++、Ogre3d、Visual Studio 和 Blender。我开始制作即时战略游戏,但后来现实生活发生了。
不管怎样,我想重新回到这个话题,我想知道 C++ 是否有任何有价值的替代品,既然 Ruby、Python 和 C# 已经变得流行了。
C++ 仍然是首选语言吗?
我现在运行 Ubuntu,所以我必须使用一些 Ubuntu C++ IDE、C++ 和 Ogre3d。
有人使用过 Ogre3d 然后转向其他东西吗?
编辑
目标:只是在 PC 上进行基于 3D 编程的爱好
- 我目前正在运行 Ubuntu,但有一天会转向 Win7
- 我想象一个像 Startopia 这样的简单游戏
- 我对物理引擎和声音有所了解,并且我之前已经将 Ogre3d 组件组合在一起
到目前为止,我发现 Ogre3d 仍然被广泛使用。可能会研究一下 python 和 http://www.panda3d.org/
干杯。
I dabbled in some game programming a few years back. I got up to using Windows Xp, C++, Ogre3d, Visual Studio, and Blender. I started to make an RTS but then real life happened.
Anyway, I'm looking to get back into it and I am wondering if there are any worthy alternatives to C++, now that Ruby,Python, and C# have become popular.
Is C++ still the preferred language?
I'm running Ubuntu now so I'd have to use some Ubuntu C++ IDE, C++, and Ogre3d.
Anyone used Ogre3d and moved onto something else?
Edit
Goals: Just hobby based 3d programming on the PC
- I'm running Ubuntu at the moment but will move to Win7 someday
- I imagine a simple game like Startopia
- I know a bit about physics engines and sound and I've plugged Ogre3d components together before
So far I've seen that Ogre3d is still widely used. Might look into python and http://www.panda3d.org/
Cheers.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
如果您喜欢制作游戏,而不只是将所有时间都花在游戏引擎的某个功能上,我建议您看看 Unity 3D。
特点:
If you like to make games and not just spend all your time working on a feature of your game engine, I recommend you take a look at Unity 3D.
Features:
拥有 ogre3d 的经验并不足以将像 startopia 这样的游戏作为一个业余爱好项目。你以前做过成品游戏吗?
这是我觉得有趣的帖子:
http://greyaliengames.com/blog/the -大规模游戏开发成功的6步/
恕我直言,你应该在第四阶段开始制作这样的 3D 游戏。
还取决于你的爱好是工程还是制作游戏?
如果是工程,使用 ogre3d 会让你学习更好的工程技能。
否则,尝试学习如何使用 Unity 3D、Torque 或 UDK 等引擎会更好。
Having experience with ogre3d is not enough to make a game like startopia as a hobby project. Have you done a finished game before?
Here's a post I found interesting:
http://greyaliengames.com/blog/the-6-steps-to-massive-game-development-success/
IMHO, you should go making 3D games like this at stage 4.
And also depends on whether your hobby is in engineering or making games?
If engineering, using ogre3d would make you learn better engineering skills.
Otherwise, trying to learn how to use an engine like Unity 3D, Torque or UDK would be better.
每个人都提到了 Ogre3D,它很好,但您也可以查看 Irrlicht:http://irrlicht.sourceforge。 net/features.html
它相对于 Ogre3D 的主要优点(至少据我所知)是它在设计和使用方面更简单。
Everyone mentioned Ogre3D, which is good, but you could also look into Irrlicht: http://irrlicht.sourceforge.net/features.html
it's main advantage (at least to my knowledge) against Ogre3D is that it's more simple, in design and use.
Ogre3d 是一个很棒的图形 API,如果您不想深入研究一些用于阴影、照明和 Alpha 排序等的垃圾 OpenGL 或 DirectX 着色器代码,但又不想使用具有声音、网络等功能的真正游戏引擎,那么它非常有用;这只是图形。
相对于 Irrlicht 的 API 结构,我更喜欢 Ogre3D,但这完全是个人喜好。
我这样说可能会受到一些批评,但如果您正在编写一个简单的游戏引擎,Java 并不是一种糟糕的语言,Java 和 C++ 如今就速度而言几乎旗鼓相当。
C++ 为您提供了许多低级访问权限来进行小的优化,如果您有足够的经验,您可以获得一些良好的性能提升。但优化是一个巨大而广泛的话题,尤其是对于游戏引擎而言。
通常,普通游戏程序员不会对其引擎进行严重的低级优化,但大型游戏公司会这样做。
Ogre3d is a fantastic graphics API that is great if you don't want to delve into some crap OpenGL or DirectX shader code for shadows and lighting and alpha ordering etc, but also don't want a true game engine with sound, networking, etc; it's only graphics.
I prefer Ogre3D to Irrlicht over the structure of the API, but it's entirely personal preference.
I might take some flak for saying this, but Java isn't a bad language if you are programming a simple game engine, Java and C++ are getting on pretty equal terms as far as speed nowadays.
C++ gives you a lot of low level access to make small optimizations that if you are experienced enough with, you can get some good performance gains. But optimization is a huge broad topic, especially with game engines.
Typically the average game programmer isn't going to dive into serious low level optimizations with their engines, but large game companies do.
C++ 和 Ogre 仍然是一个可行的组合。另一方面,微软希望你使用 C# 和他们的 XNA 框架,而你总是想服从微软……哦,等等,有人知道 XNA 是否可以与 VS 2010 兼容吗?我看的时候并没有。
C++ and Ogre are still a viable combination. On the other hand, MICROSOFT wants you to use C# and their XNA framework, and you always want to obey MICROSOFT... oh, wait, anybody know if XNA works with VS 2010 yet? It didn't, when I looked.