This book is fully self-contained; all the code necessary to run the examples and games is included. However, copying the listings from the book to Eclipse is error prone, and games do not consist of code alone, but also have assets that you can't easily copy out of the book. Also, the process of copying code from the book's text to Eclipse can introduce errors. Robert (the book's technical reviewer) and I took great care to ensure that all the listings in this book are error free, but the gremlins are always hard at work.
To make this a smooth ride, I created a Google Code project that offers you the following:
• The complete source code and assets, licensed under the GPL version 3, available from the project's Subversion repository.
• A quickstart guide showing you how to import the projects into Eclipse in textual form, and a video demonstration for the same.
• An issue tracker that allows you to report any errors you find, either in the book itself or in the code accompanying the book. Once you file an issue in the issue tracker, I can incorporate any fixes in the Subversion repository. This way you'll always have an up-to-date, (hopefully) error-free version of this book's code from which other readers can benefit as well.
• A discussion group that is free for everybody to join and discuss the contents of the book. I'll be on there as well of course.
For each chapter that contains code, there's an equivalent Eclipse project in the Subversion repository. The projects do not depend on each other, as we'll iteratively improve some of the framework classes over the course of the book. Each project therefore stands on its own. The code for both Chapters 5 and 6 is contained in the ch06-mrnom project.
The Google Code project can be found at http://code.google.com/p/beginning-android-games.
Was this article helpful?