-4
\$\begingroup\$

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

\$\endgroup\$
  • \$\begingroup\$ 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? \$\endgroup\$ – ashes999 Oct 2 '11 at 14:58
  • 3
    \$\begingroup\$ 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. \$\endgroup\$ – Patrick Hughes Oct 2 '11 at 15:33
  • \$\begingroup\$ I really recommend you start with something simpler, like the answer below about Space Invaders. Or even pong. \$\endgroup\$ – ashes999 Oct 2 '11 at 15:55
3
\$\begingroup\$

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

|improve this answer|||||
\$\endgroup\$
2
\$\begingroup\$

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 :)

|improve this answer|||||
\$\endgroup\$
1
\$\begingroup\$

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.

|improve this answer|||||
\$\endgroup\$
0
\$\begingroup\$

Check out LWJGL with Slick.

|improve this answer|||||
\$\endgroup\$

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