什么是游戏编程的最佳语言? [英] What Is The Best Language For Games Programming?

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

问题描述

什么是最适合游戏编程的语言?

What Is The Best Language For Games Programming?

推荐答案

那里不是最好的语言.哪一种适合您取决于您​​要做什么.

如果您想在移动平台上制作游戏,则可能会希望以最适合该平台的语言(适用于Android的Java/C ++,适用于iOS的Objective C和适用于Windows Phone的C#,等).

如果要在PC上进行3D游戏,则取决于要达到的最低级别.如果您想控制整个图形引擎,则可能要使用DirectX或OpenGL,两者都具有对各种语言的绑定,但是最好的选择是C ++(以及DirectX的C#),然后也许是最重要的脚本语言(例如Python,Lua).如果要使用现有引擎,请使用引擎使用的任何内容,例如虚幻开发工具包 [ Pygame [
There''s isn''t a best one. Which one is right for you depends on what you want to do.

If you want to make games on a mobile platform, you''ll probably want to do it in the languages best suited for the platform (Java/C++ for Android, Objective C for iOS, and C# (I think) for Windows Phones, etc.).

If you want to do 3D games on PC, it depends on how low level you want to go. If you want to control the entire graphics engine, you''ll probably want to use DirectX or OpenGL, both of which have bindings for various languages, but your best bet for these is C++ (as well as C# for DirectX), and then maybe a scripting language on top of that (e.g. Python, Lua). If you want to use an existing engine, then use whatever the engine uses, for example Unreal Development Kit[^] uses it''s own language, Unreal Script.

If you''re looking to quickly throw together some little 2D games, Python + Pygame[^] is a good choice.

Basically, decide first what kind of game it is, what platform you want to put it on, and what technologies you want to use, then decide the language based on that. Starting with the language probably isn''t the best idea.


在搜索Google时,我发现了以下讨论:
http://www.daniweb.com /software-development/game-development/threads/286909/best-programming-language-for-video-games# [ http://playstuff.net/showthread.php/3020-Best-Programming-Language-游戏游戏 [ ^ ]
http://www.dreamincode.net/forums/topic/202087-best -language-for-game-programming/ [
While searching Google, I found this discussions:
http://www.daniweb.com/software-development/game-development/threads/286909/best-programming-language-for-video-games#[^]
http://playstuff.net/showthread.php/3020-Best-Programming-Language-for-Games[^]
http://www.dreamincode.net/forums/topic/202087-best-language-for-game-programming/[^]
I prefer C# with XNA.
C++ is also a good idea, but it''s not a easy language.


所有语言都是最适合编程的语言,但您必须喜欢自己熟知的语言.
您正在问这个问题,因为在您的游戏中找到了
All languages are best for programming but you must prefer the languge that is best known to you.
You are asking this question as
Head=Tails

,并且您想要将此顺序更改为您可以从此处了解的最佳编程语言,以便创建历史记录.

was found in your game and you want to change this order into best programming languages that you will know from here so that you can make history.


这篇关于什么是游戏编程的最佳语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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