且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

启动图形&游戏编程(Java和或许C ++)

更新时间:2023-02-02 21:14:03

我现在正在经历类似的过程。我发现以下网站有帮助,它有一个伟大的教程(Java中的空间侵略者):

I am going through a similar process to you at the moment. I found the following site helpful, it has a great tutorial (space invaders in Java):

http://www.cokeandcode.com/node/6

您可以获取源代码并混淆它。你可能会从IDE中受益,如果你还没有收藏,你可以尝试Netbeans(netbeans.org)是免费的,我认为它是相当不错。

You can get the source code and mess around with it. You will probably benefit from an IDE, if you don't already have a favorite you could try Netbeans (netbeans.org) which is free and I think it's pretty good.

对于这本书是好的(以java为中心):

As for books this one is OK (it's java-centric):

http://www.amazon.com/Killer-Game-Programming-Andrew-Davison/dp/0596007302

我个人决定使用Java进行游戏(现在),因为我非常喜欢Java,而且使用C ++也不那么容易。但你会发现大多数人使用C ++的商业游戏。实际上,我开始与pygame(python游戏框架),这也是很好的开始,特别是如果你知道python。

I personally decided to use Java for games (for now) because I am very comfortable with Java and far less so with C++. But you will find that most people use C++ for commercial games. Actually I started with pygame (python games framework) which is also nice to get started, especially if you know python.