Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I was wondering how could I get started making games with java? I tried looking up tutorials but I couldnt find any ,also if I make a game with java and it connects to a database would someone be able to decompile the game and see the stuff to connect to the database

share|improve this question
    
Maybe you can share with us how much Java programming you've done (like how comfortable you are with it), and what kind of game you have in mind -- or what specifically you want to learn. 2D? 3D? –  ashes999 Oct 2 '11 at 14:58
3  
Connecting directly from a client to a remote database on your own server is just asking for trouble. Use an go-between service to accept requests, which then makes sure the request is valid and then return the results. –  Patrick Hughes Oct 2 '11 at 15:33
    
I really recommend you start with something simpler, like the answer below about Space Invaders. Or even pong. –  ashes999 Oct 2 '11 at 15:55
add comment

closed as off topic by Jonathan Hobbs, Noctrine Aug 22 '12 at 17:47

Questions on Game Development Stack Exchange are expected to relate to game development within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers

up vote 3 down vote accepted

Check out LWJGL, and it's documentation (teaches you the basic stuff). Minecraft uses the same library.

share|improve this answer
add comment

Check out LWJGL with Slick.

share|improve this answer
    
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Byte56 Sep 8 '12 at 15:17
add comment

Since you're interested in making a game and not building an engine you may want to look at Java Monkey Engine and head straight to their tutorials Tutorials

You didn't mention how experienced you are at coding in Java but you will want to either look at tutorials in OpenGL for 3D work or research Tile engines for 2D.

share|improve this answer
add comment

Looooong time ago, when I was trying to start programming with Java, I followed a tutorial to create a simple Space Invaders in Java. I am pretty sure that there are much new (and better?) tutorials currently available on the net, but just in case... this is the tutorial I followed. It has 27 lessons that you can follow, and at the end you end up with a nice Space Invaders :)

share|improve this answer
    
+1 starting simplest is always the best approach. –  ashes999 Oct 2 '11 at 15:55
add comment

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