Description
Are you serious about learning how to create real, Java-based games for fun and sharing? Do you have a basic understanding of the Java programming language? If you've answered yes, then you are ready to get started building web-based 2D games from scratch using the latest version of the Java Development Kit! "Beginning Java Game Programming, Second Edition" is a hands-on guide that is perfect for beginner-level game programmers who want to quickly and easily learn how to create games using Java. Written in simple language, the book teaches each new skill using engaging tutorials, followed by end-of-chapter questions and exercises to help reinforce what you've just learned. Each chapter builds upon the previous ones, allowing you to repeat and practice the techniques covered. You'll begin with the basics of writing a simple 2D game using vector graphics, move on to utilizing Java's advanced 2D library to add animation and sound effects, and end by creating a professional, sprite-based game full of interesting artwork and details that you can share with others on your own website!
Table of Contents
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 2D Game Programming
Chapter 6 Java 2D--Vector Graphics and Bitmaps
Chapter 7 The Game Loop, Timing, and Threads
Chapter 8 Basic 2D 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