Beginning Android Games
By 作者:Mario Zechner (Author)
pages 页数: 688 pages
Publisher Finelybook 出版社: Apress; 1st ed. edition (21 April 2011)
Language 语言: English
The Book Description robot was collected from Amazon and arranged by Finelybook
Hi there, and welcome to the world of Android game development. My name is Mario; I’ll be your
guide for the next fourteen chapters. You came here to learn about game development on
Android, and I hope to be the person who enables you to realize your ideas.
Together we’ll cover quite a range of materials and topics: Android basics, audio and
graphics programming, a little math and physics, and a scary thing called OpenGL ES. Based on
all this knowledge we’ll develop three different games, one even being 3D.
Game programming can be easy if you know what you’re doing. Therefore I’ve tried to
present the material in a way that not only gives you helpful code snippets to reuse, but actually
shows you the big picture of game development. Understanding the underlying principles is the
key to tackling ever more complex game ideas. You’ll not only be able to write games similar to
the ones developed over the course of this book, but you’ll also be equipped with enough
knowledge to go to the Web or the bookstore and take on new areas of game development on
A Word About the Target Audience
This book is aimed first and foremost at complete beginners in game programming. You don’t
need any prior knowledge on the subject matter; I’ll walk you through all the basics. However, I
need to assume a little knowledge on your end about Java. If you feel rusty on the matter, I’d
suggest refreshing your memory by reading the online edition of Thinking in Java, by Bruce Eckel
(Prentice Hall, 2006), an excellent introductory text on the programming language. Other than
that, there are no other requirements. No prior exposure to Android or Eclipse is necessary!
This book is also aimed at the intermediate-level game programmer that wants to get her
hands dirty with Android. While some of the material may be old news for you, there are still a lot
of tips and hints contained that should make reading this book worthwhile. Android is a strange
beast at times, and this book should be considered your battle guide.
How This Book Is Organized
This book takes an iterative approach in that we’ll slowly but surely work our way from the
absolute basics to the esoteric heights of hardware-accelerated game programming goodness.
Over the course of the chapters, we’ll build up a reusable code base, so I’d suggest going through
the chapters in sequence. More experienced readers can of course skip certain sections they feel
confident with. Just make sure to read through the code listings of sections you skim over a little,
so you will understand how the classes and interfaces are used in subsequent, more advanced
Getting the Source Code
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-androidgames
- Advanced Data Structures: Theory and Applications
- Recent Advances of Hybrid Intelligent Systems Based on Soft Computing
- Probabilistic Deep Learning: With Python, Keras and TensorFlow Probability
- JUnit in Action, 3rd Edition
- Algorithmic Trading Methods: Applications Using Advanced Statistics, Optimization, and Machine Learning Techniques, 2nd Edition
- Cryptocurrencies and Blockchain Technology Applications
- Hands-On Web Scraping with Python: Perform advanced scraping operations using various Python libraries and tools such as Selenium, Regex, and others