I want to know how to make games in java. How do I import graphics the way a game like minecraft does? How do I make a physics engine ? An AI engine?
Where can I learn all this stuff? Any good books, tutorials etc. Anything would be appreciated.
Printable View
I want to know how to make games in java. How do I import graphics the way a game like minecraft does? How do I make a physics engine ? An AI engine?
Where can I learn all this stuff? Any good books, tutorials etc. Anything would be appreciated.
Learn Java first.
And you cannot learn all those things in one book.
Well I read a pretty good book on Java, Headfirst Java to be exact. I learned the basics from it, I think. So really my question should be : Where do I go from here if I want to be a Java game developer. Should I read another Java book? Should I code more? Should I find a tutorial on how to make games online?
I don't know since I don't do Java game creation, but I think "code more" is always good, I think finding game creator resources online is a good idea too including forums and such.
Well, for starters you should be able to compile and run code on the command line.
Should be able to write a simple text game of some sort without too many problems.
Then try something involving file io.
Then start on a simple Swing app.
Add things as you go through...most people make the mistake of trying to write Swing app that talks to a database and needs to read from XYZ ports and plays music, all without knowing how to write a HelloWorld app.
From the little I know and as much as I love Swing, if you want to make a serious Java game, avoid Swing as there are better game graphics libraries out there including the Lightweight Java Game Library.
I did mentally question Swing when I wrote that...:)
I had the same thought when I started learning to program. The best suggestion I have for you is to try writing a simple card game program, start with text based first then move into graphics. Once you get a card game down you can try board games, then easy puzzle games. Or take a class at a community college.
My advice is to practice them while read. Just read one after the other not make sense at all.
I am not a game developer at all, but I can give you a suggestion. Think about a very simple game, like moving an object without collapsing obstacles. Take a page and pencil and write down what are the steps (logic) you have to follow when you are playing the game. Then think about how you can convert each logic in to a Java code.
Thank you all for the great advice, you guys helped!
You are welcome (behalf of all the member comment on you :)-: )