Sign in to follow this  
redhood56.0

Any good java programming books for begginers?

Recommended Posts

Hello! After I heard that Microsoft is cutting xna, and i tried experimenting with it, I decided that would like to use java as my first programming language. Now, are there any good game programming books for it? I looked, but I have seen books that are outdated. Thanks in advance!

 

EDIT: I see that I am an idiot and spelled beginner wrong *facepalm* 

Edited by redhood56.0

Share this post


Link to post
Share on other sites

I would recommend learning C# or C++ over Java if you really want to do game development that is. There are plenty of books that could teach you java without making games or are you specifically looking for ones in which you make games?


You can still write games in C# with different APIs, or even use GDI.

 

If your looking for ones specific to game development, I imagine it will be slim pickings. Games are not typically made in java so there will not be that many books on the subject of game development using Java. You might try looking into android game development as that would use java but would likely have newer titles, but they'd be written for an android development.

Edited by DevLiquidKnight

Share this post


Link to post
Share on other sites

why not you learn c++ instead ?? C++ is faster than Java, however its up to you :)
if you change your mind and want to learn C++ instead, here is a book i recomended

 

Beginning C++ Through Game Programming [Amazon]

Share this post


Link to post
Share on other sites

why not you learn c++ instead ?? C++ is faster than Java, however its up to you smile.png
if you change your mind and want to learn C++ instead, here is a book i recomended

 

Beginning C++ Through Game Programming [Amazon]

 

I have an older edition of this book and it was amazing.   I recommend this book as well.  

 

My java book I used was head first http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208/ref=sr_1_1?s=books&ie=UTF8&qid=1360406369&sr=1-1&keywords=java+head.   I'd recommend that one too.  My goal wasn't to finished the book.   All I wanted was to read up on what I needed to know to start android and had no problems getting that background with that book.  

Edited by crazyheaven

Share this post


Link to post
Share on other sites

Hello! After I heard that Microsoft is cutting xna, and i tried experimenting with it, I decided that would like to use java as my first programming language. Now, are there any good game programming books for it? I looked, but I have seen books that are outdated. Thanks in advance!

 

EDIT: I see that I am an idiot and spelled beginner wrong *facepalm* 

Head first java. Without the doubt the best book out there. One of the authors is some kind of learning teacher, so they explain everything super effectively. They even have tips on how to prepare your brain for learning :) 

Share this post


Link to post
Share on other sites

Thanks for all the replies. The main reason why I did not use c++ s because it wasn't a good choice for people without programming knowledge.  Some person here said to read this:http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx. I'll diffidently consider looking at that book, and the head first java book!

Share this post


Link to post
Share on other sites

Have you looked into MonoGame at all? It's built around the XNA framework and allows you to port your game into multiple OS's, and you don't have to learn an entirely different programming language. You can still use XNA to build basic 2D games on the PC for now, so if you're just trying to learn, it's still a viable solution.

Share this post


Link to post
Share on other sites

Have you looked into MonoGame at all? It's built around the XNA framework and allows you to port your game into multiple OS's, and you don't have to learn an entirely different programming language. You can still use XNA to build basic 2D games on the PC for now, so if you're just trying to learn, it's still a viable solution.

I have heard about it once, I'll look into it more now. Thanks :)

Share this post


Link to post
Share on other sites

Thanks for all the replies. The main reason why I did not use c++ s because it wasn't a good choice for people without programming knowledge.  Some person here said to read this:http://www.gamefromscratch.com/post/2011/08/04/I-want-to-be-a-game-developer.aspx. I'll diffidently consider looking at that book, and the head first java book!

 

C++ is a steep learning curve, however that doesn't mean it doesn't make a good choice for people without programming experiance. The reason I say this is because a fresh mind in my opinion is a better mind to learn on. I came from the web world, learning Flash/Javascript and PHP before learning other languages. In the web world you learn hacky fixes to make it just work and don't really care about what the user is using as a browser since you mainly build for one. PHP is also a very dirty language which allows you to learn VERY VERY bad habits when it comes to programming.

 

Translating my PHP experiance to C++ I started to do alot of bad bad practices because its ones that I had picked up from prior experiance.

 

I say, if you feel you can handle a large curve, try it out. If its a little to much and overbearing, throttle back a bit. If you are having a little trouble with the basics, don't be scared to take up something lite like Python. Just don't compare your progress to things you play daily. Compare your progress to the folder archive you have on your desktop for applications you programmed.

Share this post


Link to post
Share on other sites

The O'Reilly book "Killer Game Programming in Java" is not bad but I don't think it is intended as a first programming book -- though probably a good place to start if you are willing to do the work. Also, I disagree with the people telling you to start with C++ as a first language but would agree with the idea that you shouldn't discount C# because of the XNA situation. Don't worry about the XNA situation -- it won't effect you -- if you're researching C#/XNA already, just use that.

Edited by jwezorek

Share this post


Link to post
Share on other sites

One book I do not recommend is Android Game Programming for Dummies. I tried to make the crazy 8 game and there was a lot of errors in the code and didn't have the know how to fix it. - It teaches you Java. For Java books I have yet to find a good one. Let me know if you do as I'm looking for a good C#/Java programming book.

 

Talking about C++ I have started this one and works for me is beginning C++ through game programming, third edition. If you choose C++ this is a good one to get!

Share this post


Link to post
Share on other sites

If you are a beginner and somewhat comfortable with C# then switching to Java is a good progression.  The Java language is very popular across most fields and is probably the language that stands head-to-head with C++, but for different reasons such as speed verses ease of use.  Also, there is the Android platform everyone is talking about, so games-wise its no longer a poor choice.

 

As for learning Java, then just go with something like SAM's "Teach Yourself Java in 21 Days" or if you really want to take the bull by the horns, consider an evening, college or university module.  If you are in the UK or nearby then I would recommend the Open University's M250 module which takes the beginner programmer from a gentle start in Java to a surprising depth of knowledge one could learn in a mere 9 months. LOL, I was a bit of a die-hard C++ programmer when I took that module(actually it was M255 its previous presentation) and even I was won over by the module! But that's just another option to choose from and might not be for you. Education is expensive these days and all....

Share this post


Link to post
Share on other sites

If you are very first to programming, you should start with Head First Java.Or If you have some programming background,this book is my recommendation for you.

Beginning Android Games

http://www.amazon.com/Beginning-Android-Games-Mario-Zechner/dp/1430246774/ref=sr_1_1?ie=UTF8&qid=1360758831&sr=8-1&keywords=Beginning+Android+Games%2C+2nd+Edition

 

After you read this book., you have good foundation for Creating Advanced Games.

Share this post


Link to post
Share on other sites

I've recently ran into this book: Developing Games in Java

( http://www.amazon.com/gp/product/1592730051/ref=as_li_tf_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=1592730051&linkCode=as2&tag=brackeencom-20 )

 

I know it's not recommended for people who never worked with java before and might have a steep learning curve at the begining, but I've heared from several people that it's the best book on the topic and is ahead of others by miles.

 

I just oredered it myself, so I have no idea if it's true or not, but I thought I'd share it so that it sits in this topic as well. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this