Looking for a good beginners book for game development with Java

Hi!
I have been reading alot in different forums , and many posts with book recomendations are old…
I was wondering if anyone knew of a really good book to learn game development with java. Not 3d games but 2d.
I would love if you guys recomend newer books to , most of the books i find is from…2001 and so on.

Im currently reading Java - A Beginner’s Guide [5th Edition] - Herbert Schildt ( on chapter 7)

Im for Norway , thats why my english may be poor.

Your English is fine. Being 100% honest I do not think there is any books out there that teach you how to develop games.

It is a very broad subject with many angles. Mechanics, design, graphics, AI…

IMO the best way learn is so Java, read books like fuck.

The book you have is good, I’ve read it.

Stick with learning Java and then drive into LWJGL or libgdx. Google them. Google all the things.

Welcome to the forum, you will learn plenty here.

Thanks for the reply.

I have seen alot of youtube videos on lwjgl and so on…but the gap between the book and those vides are just a bit to big.

Maybe Android development is the way , a lot of books there i think

Hm, I done Java for about a month and a half then jumped into libgdx. It is a very high level language, lwjgl is much lower level, it is basically an opengl wrapper.

You will feel frustration and pressure at first mate. Don’t think it’s too hard, the jump is not as bad as it looks.

However don’t try and do anything big, you will just get pissed off.

Try making some text based games, I basically made Pokémon style game in pure text.

As long as you stick at it, stick around you will be fine.

If I was to recommend a book, try “Beginners guide to android games”, but if you don’t know basic Java you will spend a lot of time sitting scratching your head lol

Any great libgdx tutorials , videos , books?

My java knowledge is getting better by the day , but i want to put it to use

Maybe http://www.amazon.com/Learning-Libgdx-Development-Andreas-Oehlke/dp/1782166041/ref=sr_1_1?ie=UTF8&qid=1392019985&sr=8-1&keywords=libgdx

Heh I only got 1 word for that.

Overpriced, it’s a 300 page paper back book…for £15.

The best resources for LibGDX:

https://github.com/libgdx/libgdx/wiki - LibGDX Wiki

http://www.youtube.com/user/dermetfan - Dermetfans YouTube channel, very good

https://github.com/libgdx/libgdx/tree/master/tests/gdx-tests/src/com/badlogic/gdx/tests - Tons of test examples

Of course you have this forum as well, for regular Java here:

http://docs.oracle.com/javase/tutorial/ - Oracle Jva tutorials

http://www.tutorialspoint.com/java/ - Tutorials point, good for reference more than learning from scratch

The best way to learn Java is just fire in, same goes for LibGDX. Fire into it, keep it simple and realistic and you will have fun lol

i would LOVE a book…big nerd ranch Android book? Anyone tried that?

I would love to start making a text game , any good tutorials ?

On text games no lol, you can make a text based game just using normal Java. The stuff you learn from any Java book.

Anyone else?

Tutorial for text game? :open_mouth:

System.out.println("");

Here is tutorial and all you need.
You should also know basics of Java and you’re set to making a Text game!

The only difference between text game and 3d AAA game is how you display stuff. (Ofcourse not, but.) Making a 3D game requires knowledge how to use certain tools like OpenGL or DirectX. To make a text game all you need is System.out.print

The thing i want the most is to make a 2D game…side scroller and so on. But need GOOD book.

No you need to stop asking the same question over and over, learn Java and then you can literally just learn LWJGL or LibGDX by simply reading a wiki and the documentation.

I really suggest this book i am going to order it soon “http://www.packtpub.com/learning-libgdx-game-development/book

this book helps you to start programming in libgdx i really suggest this book :slight_smile:

For learning how to make a 2D side scroller, David Brackeen’s Developing Games in Java is perfect. Although a bit old (2004), the concepts of game programming stayed the same. The first four chapters talk about threads, 2D rendering, input, and sounds, then chapter five combines them all to make a simple 2D side-scroller. And if you ever feel like going into 3D, the rest of the book should teach you everything you need to know.