Beginning Android Games


Beginning Android Games
by 作者: Mario Zechner
pages 页数: 688 pages
Publisher Finelybook 出版社: Apress; 1st ed. edition (21 April 2011)
Language 语言: English
ISBN-10 书号: 1430230428
ISBN-13 书号: 9781430230427


Book Description
xv
Introduction
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
your own.
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
sections.
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

打赏
未经允许不得转载:finelybook » Beginning Android Games

相关推荐

  • 暂无文章

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫打赏

微信扫一扫打赏