header

About the Book:

If you’ve always wanted to make Android games but didn’t know where to start, this book is for you. Whether you are an absolute beginner with no programming experience or an experienced Java developer wanting to get started with game development, this comprehensive book will help you accomplish your goals and teach you how to build your own games from scratch—no game engines needed.

Information:
Source code and updated information is available on a chapter-by-chapter basis. Other downloads, game project samples and errata are available in the ‘Helpful Links’ section below.

Unless stated otherwise, all source code available in the book and on this site are licensed under the open source MIT License, meaning that you can incorporate the code into your own projects without permission.

All code has been tested using Java 7 and Android API 21 (L Preview**). As new versions of Android become available, information will be posted on each chapter’s page if there is a change in compatibility.

**As of Android Lollipop’s official release, only one small change is recommended (although unnecessary). Please see the Additional Information section of Chapters 8 and 9.

Google ADT Bundle:

Google has stopped supporting the ADT bundle with the release of Android Studio. If you would like to maintain the same setup used in the book, please see here.

Designed to Grow:
This book is designed to grow over time. If you feel that a topic has not been covered to your liking, please post on our forums. Additional information may be added to the book’s companion site as needed. You can also get help with code examples from our forums as well.

Source Code and More:

Unit 1: Java Basics

Chapter 1: The Fundamentals of Programming

Chapter 2: Beginning Java

Chapter 3: Designing Better Objects

Unit 2: Java Game Development

Chapter 4: Laying the Foundations

Chapter 5: Keeping It Simple

Chapter 6: The Next Level

Unit 3: Android Game Development

Chapter 7: Beginning Android Development

Chapter 8: The Android Game Framework

Chapter 9: Building the Game

 Unit 4: Finishing Touches

Chapter 10: Releasing Your Game

Chapter 11: Continuing the Journey

 

Helpful Links:

Downloads

Samples

Errata

License

External Resources:

Public Domain Game Art (Kenney.nl)

Sound Effects (bfxr.net)

Royalty Free Music (mattmcfarland.com)

Eclipse Shortcuts