我需要帮助才能开始 [英] I need help to get started

查看:145
本文介绍了我需要帮助才能开始的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我从未写过游戏代码.我是一个非常优秀的(我认为)C,C ++,MATLAB和python程序员.
我想开始编写游戏代码.显然我必须学习C#并使用Visual Studio.
我不太喜欢Windows强悍(我使用Linux:Ubuntu).但是,如果我必须使用Windows进行开发
游戏,就这样吧.

我的问题是:
应该使用什么语言?
我应该使用什么编译器?
我真的必须学习一种新语言吗?
是否有每个初学者都可以玩的游戏? (一种"Hello World!"类型的游戏):D

提前非常感谢您

Hello,

I have never written codes for games. I am a very good (i think) C, C++, MATLAB and python programmer.
I want to start writing codes for games. Apparently i have to learn C# and use Visual studio.
I don''t really like Windows tough (i use Linux: Ubuntu). However, if i have to use Windows to develop
game, so be it.

My questions are:
What language should is use?
What compiler should i use?
Do i really have to learn a new language?
Is there a game that every beginner starts with? (a "Hello World!" type of game) :D

Thank you very much in advance

推荐答案

应该使用哪种语言?
真正取决于:游戏通常需要速度,并且可以移植到多个平台.如果您正在寻找基于Linux的系统,那么C#并不是一个好选择-您需要在每个平台上使用Mono才能玩它. C ++是一个好的开始.
我很想看看 XNA [
是否有每个初学者都可以玩的游戏? ("Hello World!"类型的游戏)
不!谁想写以前做过的游戏? :laugh:

认真地看一下XNA:这可能是一个很好的起点,并且至少向潜在的雇主表明您具有一定的技能,并且知道需要框架.
What language should is use?
Depends really: Games generally need speed, and to be portable to multiple platforms. If you are looking at Linux based systems to start off with, then C# is not a good choice - you would need Mono on each platform in order to play it. C++ is a good start.
I would be tempted to look at XNA[^] - you could do worse.

What compiler should i use?
Depends on language, platform, etc.

Do i really have to learn a new language?
Quite possibly, yes. If you are seriously intending to write professional games, then you will need to use whatever the rest of the team is using - and gaming teams are well organised nowadays, "back bedroom" productions are not mainstream anymore.

Is there a game that every beginner starts with? (a "Hello World!" type of game)
No! Who wants to write a game that''s been done before? :laugh:

Seriously, have a look at XNA: it could be a good starting point, and at least shows potential employers that you have some skill, and are aware that frameworks are needed.


这肯定是可以用C ++编写游戏.但是,这可能是艰苦的工作.这样做的好处之一是,您希望可以学到很多有关Windows内部的知识. Google为 c ++编写游戏提供了支持和反对的大量有用的教程和建议.

您可以使用 php编写游戏编写游戏,同样适用于c ++的结果.

XNA Game Studio [
It is certainly possible to write games in C++. It can be hard work though. One advantage of doing it is that you will, hopefully, learn a lot about Windows internals. Google for c++ writing games and you will get loads of useful tutorials as well as loads of advice, both for and against.

You can write games using php writing games the same applies to the results as for c++.

The XNA Game Studio[^] just makes it a lot easier.

Do some googling and reading. Only then will you be able to decide which way to go.


>>应该使用什么语言?
如果您了解C ++,则最好坚持使用C ++,但是c#是一种选择.
>>我应该使用什么编译器?
Microsoft Visual C ++比任何其他编译器(甚至是开源项目)都享有更好的支持
>>我真的必须学习一种新语言吗?
不,但是您可能会喜欢.如果您了解C ++,则C#不应太难学习.
>>是否有每个初学者都可以玩的游戏? ("Hello World!"类型的游戏)
下载
XNA GameStudio [ Ogre3D [ ^ ]-两者都有足够的入门项目和教程.

如果您想利用现有代码,我会说C ++提供了范围更广的高质量库.大多数真实"游戏都使用C ++,并根据需要添加/使用DSL和脚本功能.
Away3D [ ^ ]如果您想将游戏放在网络浏览器中,则可以提供一些惊人的功能:)

问候
Espen Harlinn
>> What language should is use?
If you know C++, you''ll probably be better of sticking with it, but c# is an option.
>> What compiler should i use?
Microsoft Visual C++ enjoys better support than any other compiler, even by open source projects
>> Do i really have to learn a new language?
No, but you might enjoy it. If you know C++, C# shouldn''t be too hard to learn.
>> Is there a game that every beginner starts with? (a "Hello World!" type of game)
Download XNA GameStudio[^] and take a look at Ogre3D[^] - both have ample starter projects and tutorials.

If you want to take advange of existing code, I would say that C++ offers the wider range of high quality libraries. Most "real" games use C++ and add/use DSLs and scripting capabilites as needed.

Away3D[^] offers some amazing capabilites if you would like to put your game inside a web browser :)

Regards
Espen Harlinn


这篇关于我需要帮助才能开始的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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