CART

(0) items

Learning Android Game Programming : A Hands-on Guide to Building Your First Android Game,9780321769626

Learning Android Game Programming : A Hands-on Guide to Building Your First Android Game

by
Edition:
1st
ISBN13:

9780321769626

ISBN10:
0321769627
Format:
Paperback
Pub. Date:
1/1/2012
Publisher(s):
Addison-Wesley Professional
List Price: $39.99

Rent Book

(Recommended)
 
Term
Due
Price
$31.99

Buy New Book

Currently Available, Usually Ships in 24-48 Hours
$27.99

eBook

Downloadable Offline Access
Lifetime Access
$24.37

Used Book

We're Sorry
Sold Out

More New and Used
from Private Sellers
Starting at $16.89

Questions About This Book?

Why should I rent this book?
Renting is easy, fast, and cheap! Renting from eCampus.com can save you hundreds of dollars compared to the cost of new or used books each semester. At the end of the semester, simply ship the book back to us with a free UPS shipping label! No need to worry about selling it back.
How do rental returns work?
Returning books is as easy as possible. As your rental due date approaches, we will email you several courtesy reminders. When you are ready to return, you can print a free UPS shipping label from our website at any time. Then, just return the book to your UPS driver or any staffed UPS location. You can even use the same box we shipped it in!
What version or edition is this?
This is the 1st edition with a publication date of 1/1/2012.
What is included with this book?
  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any CDs, lab manuals, study guides, etc.
  • The Rental copy of this book is not guaranteed to include any supplemental materials. You may receive a brand new copy, but typically, only the book itself.

Summary

Get Started Building Android Games! Many developers have clever ideas for their own games #x13; games that they want to sell on Android Market. Professional game development of complex 3D games is difficult and expensive, and is beyond the reach of the individual developer.#xA0; But there is also a class of games that a single developer can easily build using only Java/Dalvik and the standard APIs offered by the Android SDK.#xA0; This book provides the knowledge and example code that will allow a relatively junior Android developer to develop their own games in Java and XML.#xA0; It will also show the developer how to make their game available for download on Android Market. In this book you'll learn how to: Build your own 2D game using Cocos2d for Android Learn how to implement Game Loops and create Game Menus Create Scenes, Layers, Transitions, and Actions Build and animate#xA0; Sprites

Author Biography

Rick Rogers has been developing software for more than thirty years and has been focused on software for mobile devices for the last twelve years. He is the author of numerous technical magazine articles and a previous book on introductory Android application development. He has developed mobile device software for large and small companies, and participated in international consortia that have shaped the evolution of mobile devices. 

Table of Contents

Foreword xix

Preface xxi

Acknowledgments xxiii

About the Author xxv

 

Chapter 1: Mobile Games 1

The Mobile Game Market 1

The World of Computer Games 2

AndEngine Examples 10

Summary 12

Exercises 12

 

Chapter 2: Game Elements and Tools 15

Software Development Tools 15

Graphics Tools 20

Audio Tools 24

Getting Our Feet Wet: The Splash Screen 26

Summary 31

Exercises 32

 

Chapter 3: The Game Loop and Menus 33

Game Loops in General 33

The Game Loop in AndEngine 34

Adding a Menu Screen to V3 37

Memory Usage 50

The Quit Option 51

Summary 51

Exercises 52

 

Chapter 4: Scenes, Layers, Transitions, and Modifiers 53

Scenes in AndEngine 53

Creating the Game Level 1 Scene 79

Summary 85

Exercises 85

 

Chapter 5: Drawing and Sprites 87

Quick Look Back at Entity 87

Drawing Lines and Rectangles 88

Sprites 89

Summary 106

Exercises 107

 

Chapter 6: Animation 109

Requirements for Animation 109

Animation Tiled Textures 110

Animation in AndEngine 111

Animation Example 113

Adding Animation to Level1Activity 118

Animation Problems 126

Advanced Topic: 2D Animations from 3D Models 127

Summary 127

Exercises 128

 

Chapter 7: Text 129

Fonts and Typefaces 129

Loading Fonts 130

Text in AndEngine 133

Custom Fonts 137

Adding Custom Fonts to V3 139

Summary 146

Exercises 146

 

Chapter 8: User Input 149

Android and AndEngine Input Methods 149

Adding User Input to V3 167

Summary 171

Exercises 172

 

Chapter 9: Tile Maps 173

Why Tile Maps? 173

Types of Tile Maps 173

Structure of Tile Maps 176

Tile Maps in AndEngine 176

The Tile Editor: Tiled 179

TMX Files 180

Orthogonal Game: Whack-A-Vampire 181

Isometric Tile Maps 196

Summary 197

Exercises 197

 

Chapter 10: Particle Systems 199

What Is a Particle Emitter? 200

How Do Particle Systems Work? 200

The AndEngine Particle System 201

Creating Particle Systems 206

Particle Emitters in V3 211

Summary 216

Exercises 217

 

Chapter 11: Sound 219

How Sound Is Used in Games 219

Sources of Music and Effects 220

Tools for Music and Effects 221

Sound Codec Considerations 221

Sound in AndEngine 222

Adding Sound to V3 225

Summary 241

Exercises 241

 

Chapter 12: Physics 243

Box2D Physics Engine 244

Building Levels for Physics Games 246

AndEngine and Box2D 248

Irate Villagers: A Physics Gamelet for V3 261

Implementing IV 261

Summary 276

Exercises 277

 

Chapter 13: Artificial Intelligence 279

Game AI Topics 279

Implementing AI in V3 287

Summary 297

Exercises 297

 

Chapter 14: Scoring and Collisions 299

Scoring Design 300

Collisions in AndEngine 306

Letting the Player Score 308

Graveyard (Level 1) 308

Whack-A-Vampire 315

Irate Villagers 318

Summary 322

Exercises 322

 

Chapter 15: Multimedia Extensions 325

Downloading Extensions 325

Live Wallpapers 326

MOD Music 332

Multiplayer Games 336

Multi-Touch in AndEngine 337

Augmented Reality 339

Summary 343

Exercises 344

 

Chapter 16: Game Integration 347

Difficulty Balancing 348

Completion 350

Level 1: The Main Game 352

Whack-A-Vampire 358

Irate Villagers 360

Options Menu 363

Summary 363

Exercises 363

 

Chapter 17: Testing and Publishing 365

Application Business Models 365

Testing and Getting Ready 366

Publishing 373

Promoting Your Game 376

Summary 380

 

Appendix: Exercise Solutions 381

 

Index 429



Please wait while the item is added to your cart...