开发者

Java game programming libs [closed]

开发者_如何学编程 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I have worked with C++ for a while and have firm understanding of OOP. I recently began playing around with Java, and found it pretty easy to learn, but one thing came to my mind. In C++, I would either use a lib such as Allegro, or OpenGL for game developing. In Java, is it a must to use an external lib just like in C++? The reason I ask is because I know that Java has a lot of default functions for just about anything, but are they good enough for games?


There are game programming libraries for Java such as jMonkeyEngine and LWJGL. Search for "java game programming", you'll find lots of answers to this question.


The default libaries are "good enough" for some kinds of games. Look into Swing (or maybe AWT) tutorials on how to do it. It's pretty powerful.

That being said, there's no need to reinvent the wheel if you don't have to. You can get OpenGL bindings for Java. There are also other open source libraries you can use, I'm sure a Google search will yield plenty.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜