Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just started reading about games, and I'm going to develop a game where a person is moving around on a 2D map. My preferred language is Java. Is that suitable to develop games?

I'm going to develop a desktop app and need some help to get started. Can someone please give me some good resources for newbies?

share|improve this question

closed as too broad by Byte56 Mar 5 '15 at 18:30

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 4 down vote accepted

Personally I am a big fan of jMonkey Engine.Its a shader based & geared toward high end games productions. jGame & Slick2D are very good for 2d games. ligGDX might interest you. All of these are under very active development.

There is no problem in choosing 3d engines for making 2d games. Just ignore that extra D, unless you have some serious issues with that one.

So, I whole heartily suggest you to start with jMonkey Engine, cause its fun, easy to use, has a very active community and comes with an awesome jMonkey Platform which is build on top of Netbeans platform, where every update & features is just one click away. You might end up in using it with many other projects.

There are other libraries too, but they lack community/development activity.

  • Genuts - last update 2004
  • PulpCore - last update 2009
  • GOLDEN T GAME ENGINE (GTGE) - last update 2010
  • Basilisk Game Library - last update 2009

You can write your own engine if want to.Then you should use opengl wrapper library, either LWJGL or JOGL. Lwjgl is more widely used then JOGL.

share|improve this answer
thank you very much for this valuable comment, is there else i need to know? like mathematics, vectors? – Rangana Sampath Aug 10 '11 at 15:00
Linear algebra is important to get started. – iamcreasy Aug 10 '11 at 15:18
thank you very much,, this is very helpful.. thank you again :) – Rangana Sampath Aug 10 '11 at 15:56

iamcreasy gave you some great examples of some engines to use for making a game in Java. They will definitely be helpful in your development process.

I wanted to give you a link to a good set of tutorials for 2D games in Java, without any engines. It walks through how to create some of the classics (like Tetris) in Java. The author walks you through them, explains the code, and is in general, a very big help.

You can find the above-mention tutorials here:

Hope this was a help, and good luck.

share|improve this answer
thank you very much, this is very helpful to learn :) – Rangana Sampath Aug 19 '11 at 8:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.