- Paperback: 358 pages
- Publisher: Cengage Learning PTR; 1 edition (April 25, 2006)
- Language: English
- ISBN-10: 1598631500
- ISBN-13: 978-1598631500
- Product Dimensions: 7.5 x 1.2 x 9 inches
- Shipping Weight: 1.6 pounds
- Average Customer Review: 6 customer reviews
- Amazon Best Sellers Rank: #4,926,772 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Beginning Java 5 Game Programming 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
From the Author
Source code for the projects in this book may be downloaded from these book resource locations:
- jharbour.com/forum (must create a free account first)
About the Author
Jon Harbour has been programming video games since the 1980s. His first video game system was an Atari 2600 which he played with disassembled on the floor of his room as a kid. He has written on languages and subjects that include: C++, C#, Basic, Java, DirectX, Allegro, Lua, DarkBasic, XNA Game Studio, Pocket PC, Nintendo GBA, and game console hacking. He is the author of Visual Basic Game Programming for Teens, 3rd Edition; Visual C# Game Programming for Teens; Beginning Game Programming, 3rd Edition; Multi-Threaded Game Engine Design and XNA Game Studio 4.0 for Xbox 360 Developers. Visit his blog and forum at jharbour.com.
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
Harbour is great at explaining difficult concepts in an accessible way. If you work through the code in the book, you'll pick up a whole lot of valuable info. I did, reading through the book twice along the way, and I got a whole lot out of the experience.
If I had to give a couple of criticisms, I'd say that I would have liked this book to be a few hundred pages longer. Harbour touches on so many important topics and gives you the basics, but I'd love to have more from him on all these topics. Maybe a sequel with more depth/advanced topics? If I could have those extra pages, I'd also like it if they were devoted to a different type of game. This book takes you in detail through one game project, beginning to end, but it would have been helpful to get some strategies for dealing with other game types. Don't get me wrong--it's a great idea to work through a project to finish it in such detail. And of course, a lot of the topics can be applied to other games.
I'd definitely recommend this one to anyone like me, with a Java foundation looking for a way to apply it to more interesting programming topics beyond the "toy" projects they assign in most programming classes. Read this book, and then go on to _Killer Game Programming in Java_ by Andrew Davison. That one's a lot tougher than this one and covers more advanced topics without much of any Java review, and I think they make good companion volumes. Now if I could just find the right J2ME games book . . .
Part two is particularly good for beginning game programmers who already know Java, as the chapters boil down what is necessary for programming a simple 2D game in Java complete with sound effects. The author does a good job of explaining Java2D, threads, and the concept of a game loop. I particularly liked his succinct treatment of creating a framework for Java games. He does a better job of explaining what a software framework is than many books I've read that are dedicated to the subject. He tops off part two by writing a complete 2D game in Java named "Galactic War", which you can actually play in applet form if you go to the author's website.
In summary, I would recommend this book if you already understand the basics of the Java language, need more instruction on its basic multimedia capabilities, and would like to learn those capabilities through the fun activity of building a 2D game. If you would like a more advanced book on Java game programming after you finish this one, try the excellent "Killer Game Programming in Java" by Davison. I notice Amazon does not show the table of contents, so I do that next:
Part I: Java for Beginners
Chapter 1 Getting Started with Java 5
Chapter 2 Java Programming Essentials
Chapter 3 Keyboard and Mouse Input
Chapter 4 Sound Effects and Music
Chapter 5 Creating Your First Java Game
Part II: Java 2-D Game Programming
Chapter 6 Java 2-D--Vector Graphics and Bitmaps
Chapter 7 The Game Loop, Timing, and Threads
Chapter 8 Basic 2-D Actors--the Infamous "Sprite"
Chapter 9 Advanced Sprite Programming--Animation
Chapter 10 Creating a Java Game Framework
Chapter 11 Enhancing and Polishing Galactic War
Chapter 12 Deploying Java Games on the Web
Part III: Appendices
Appendix A Chapter Quiz Answers
Appendix B Recommended Books and Web Sites
If you don't have some knowledge you feel you will need to use this book, I would recommend buying another Java book to keep by your side to answer any questions that the book may not answer for you.