开发者

Game programming with Java in Linux

Recently I've been craving some game开发者_如何转开发 programming. I primarily use Linux, and was wondering if there are any good graphics libraries for Java development on Linux? Google didn't turn up very much useful information on the subject.

Also, would another language be better? I would like to avoid using python -- Ruby and Java are my two favorite languages. There doesn't seem to be much talk about game programming on Linux in general, unfortunately.

Any suggestions/resources? Easy portability or cross-platform functionality would be awesome too.

Oh, and I prefer 2D graphics.


What about the APIs mentioned in Pro Java 6 3D Game Development: Java3D, JOGL, JInput and JOAL APIs.

Topics are split into three sections: Java 3D API, non-standard input devices for game playing, and JOGL. Java 3D is a high-level 3D graphics API, and JOGL is a lower-level Java wrapper around the popular OpenGL graphics API.

You'll look at three non-standard input devices: the webcam, the game pad, and the P5 data glove.

Along the way, you'll utilize several other games-related libraries including: JInput, JOAL, JMF, and Odejava.

Learn all the latest Java SE 6 features relevant to gaming, including: splash screens, JavaScript scripting as well as the desktop and system tray interfaces.

Or have a look at Java 2D Game Frameworks here on SO.


For game programming there's a nice little framework available, jMonkeyEngine, it support both LWJGL and JOGL.


JOGL is supposed to be cross-platform. There's a wrapper which includes additional functionality called Lightweight Java Game Library.


How about Flash? The PushButton Engine looks fun.


Golden T Game Engine

I think the Golden T Game Engine is the sort of thing that you are looking for. It makes it very easy to get into actually making a game without having to worry about a lot of boilerplate code.

Golden T Game Engine (GTGE) is an advanced cross-platform game programming library written in Java language. GTGE library provides a complete routines for making 2D game from low level routines such as hardware accelerated 2D graphics, mouse and keyboard input, audio support, game timing, to game specific routines such as sprite, background, collision detection.

...

GTGE is a high level interface library, it means programmer never has to worry about any low level commands anymore. The only thing left for the programmer is use their imagination and start programming their game. You don't have to know anything about managing graphics, input, and other low level stuff in Java. Instead you can start immediately develop your own game using the latest Java technology, such as bufferstrategy, volatile image, and even OpenGL easily. You can check out GTGE design standard simplicity, generic, and replacable.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜