游戏与模拟 [英] Games and simulations

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

问题描述

大家好,

根据您的经验,最开始使用C#进行游戏开发和3D模拟的最佳位置.

Hi all,

In your experience what is the best place to take a start with games developments and 3D simulations in C#.

推荐答案

看看XNA.有大量的示例项目向您展示了如何做3D东西(例如,我做了一个 3D宇宙飞船游戏使用XNA和C#的原型,并使用我在网上找到的示例,其中一些来自Code Project.)
Take a look at XNA. There are a ton of sample projects out there that show you how to do 3D stuff (e.g., I did a 3D spaceship game prototype using XNA and C# using samples I found online, some of which were from Code Project).


您可以先搜索Google
You could start with searching Google


哪些API使用就像是一个宗教问题,并不像理解游戏的程序结构那么重要.大多数游戏开发文献和教程都是用c ++编写的.因此,如果要使用C#进行编程,那么(很可能)您将不得不将c ++的概念改编为与c#等效的概念.无论使用DirectX还是OpenGL,游戏的基本编程结构都是相同的.我也建议阅读David Eberly的3D游戏引擎设计.对我来说非常有用.

我更喜欢OpenGL,所以我使用OpenTK.我发现可以通过OpenTK轻松将OpenGL c ++示例转换为c#.
Which APIs to use is like a religious question and not as important as understanding the programic structure of a game. Most game development literature and tutorials are written in c++. So if you are going to program in c# then you will (most likely) have to adapt the concepts form a c++ to a c# equivalent. Basic programing structures for games are the same whether you use DirectX or OpenGL. I would also suggest reading 3D Game Engine Design by David Eberly; it was been very useful to me.

I prefer OpenGL, so I use OpenTK. I find the OpenGL c++ examples easily translated to c# via OpenTK.


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

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