Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Any good java programming books for begginers?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
13 replies to this topic

#1 redhood56.0   Members   -  Reputation: 192

Like
0Likes
Like

Posted 08 February 2013 - 08:28 PM

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, 08 February 2013 - 08:29 PM.


Sponsor:

#2 DevLiquidKnight   Members   -  Reputation: 834

Like
0Likes
Like

Posted 09 February 2013 - 12:18 AM

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, 09 February 2013 - 12:24 AM.


#3 Fs02   Members   -  Reputation: 428

Like
0Likes
Like

Posted 09 February 2013 - 12:19 AM

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]


[my game in #ggj14 : http://www.indiedb.com/games/romance-stalker [my blog : http://surya.volge.net ]


#4 crazyheaven   Members   -  Reputation: 116

Like
1Likes
Like

Posted 09 February 2013 - 04:42 AM

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, 09 February 2013 - 04:43 AM.


#5 _greyfox()   Members   -  Reputation: 1134

Like
1Likes
Like

Posted 09 February 2013 - 06:16 AM

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


“There are thousands and thousands of people out there leading lives of quiet, screaming desperation, where they work long, hard hours at jobs they hate to enable them to buy things they don't need to impress people they don't like.”― Nigel Marsh

#6 redhood56.0   Members   -  Reputation: 192

Like
0Likes
Like

Posted 09 February 2013 - 08:30 PM

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!



#7 nooblet   Members   -  Reputation: 167

Like
0Likes
Like

Posted 09 February 2013 - 09:36 PM

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.



#8 redhood56.0   Members   -  Reputation: 192

Like
0Likes
Like

Posted 09 February 2013 - 10:41 PM

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



#9 Mayple   Members   -  Reputation: 187

Like
0Likes
Like

Posted 11 February 2013 - 06:15 AM

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.


I usually just give my 2 cents, but since most of the people I meet are stubborn I give a 1$ so my advice isn't lost via exchange rate.


#10 jwezorek   Crossbones+   -  Reputation: 1972

Like
0Likes
Like

Posted 11 February 2013 - 11:00 AM

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, 11 February 2013 - 11:01 AM.


#11 Benderwiz   Members   -  Reputation: 162

Like
0Likes
Like

Posted 11 February 2013 - 09:29 PM

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!



#12 Anri   Members   -  Reputation: 597

Like
0Likes
Like

Posted 12 February 2013 - 05:50 AM

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....



#13 fizziz   Members   -  Reputation: 109

Like
0Likes
Like

Posted 13 February 2013 - 06:37 AM

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.



#14 ninuson   Members   -  Reputation: 102

Like
0Likes
Like

Posted 15 February 2013 - 10:32 AM

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






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS