Hello everybody,
I’m new here to the java-gaming forums but not a complete beginner to game programming in Java. I’m looking for which library or wrapper to use for my next game.
First I’ll give a little background that may be unnecessary but should provide a decent overview of my programming background and capabilities. Last year I took AP Computer Science which covered fairly basic Java programming and some OOP concepts. It was almost all text-based stuff and I don’t believe it got into Swing, AWT, and any graphical interface programming. After I finished the class I decided to start some researching into graphics programming in Java because I’ve always enjoyed gaming and thought it might be fun to program some games. I ended up using AWT and Swing to create a simple Space Invaders type game with some upgrades. However, I used a JPanel to draw on and didn’t know anything about frame rates so the game speed was dependent on the CPU and had no hardware acceleration.
From there I looked for better and more reliable ways to make games and discovered Slick2D. I rewrote and much improved that first game using Slick and learned a lot more about game programming through the experience. Now I would like to learn more about my options and decide what to use to write my next game,
I plan on having a game somewhere between boxhead and Gun Bros. I haven’t really brainstormed the whole design and plan on doing that over the next few days before getting started programming it. From some personal research I know that there are a few options available to me. I heard that I could use AWT because apparently Canvas has hardware acceleration (?). I could stay with Slick, use LWJGL, use JOGL, or LibGDX to name a few.
LWJGL seems like a pretty good choice because most of the alternatives seem to be based on it. However, this also means that programming in straight LWJGL would be more difficult or more complex, but most likely offers the best performance, correct?
I don’t know much about JOGL and am doing some research on it right now.
I really don’t know a lot about LibGDX either other than it having easy Android compatibility which is a plus because I might like to do an Android port.
Based on what I need and know can you guys offer any suggestions to help me out? I appreciate your time and comments. Thanks,
David