Skip to Content
Sams Teach Yourself Android Game Programming in 24 Hours
book

Sams Teach Yourself Android Game Programming in 24 Hours

by Jonathan S. Harbour
November 2012
Beginner
432 pages
9h 3m
English
Sams

Overview

In just 24 sessions of one hour or less, Sams Teach Yourself Android Game Programming in 24 Hours will help you master mobile game development for Android 4. Using a straightforward, step-by-step approach, you’ll gain hands-on expertise with the entire process: from getting access to the hardware via the Android SDK to finishing a complete example game. You’ll learn to use the Android SDK and open source software to design and build fast, highly playable games for the newest Android smartphones and tablets. Every lesson builds on what you’ve already learned, giving you a rock-solid foundation for real-world success!

Step-by-step instructions carefully walk you through the most common Android game programming tasks.

Quizzes and exercises at the end of each chapter help you test your knowledge.

By the Way notes present interesting information related to the discussion.

Did You Know? tips offer advice or show you easier ways to perform tasks.

Watch Out! cautions alert you to possible problems and give you advice on how to avoid them.

Jonathan Harbour is a writer and instructor whose love for computers and video games dates back to the Commodore PET and Atari 2600 era. He has a Master’s in Information Systems Management. His portfolio site at http://www.jharbour.com includes a discussion forum. He also authored Sams Teach Yourself Windows Phone 7 Game Programming in 24 Hours. His love of science fiction led to the remake of a beloved classic video game with some friends, resulting in Starflight—The Lost Colony (http://www.starflightgame.com).

Learn how to…

  • Install and configure the free development tools, including the Android 4 SDK, Java Development Kit, and Eclipse (or NetBeans)

  • Use the Android graphics system to bring your game characters to life

  • Load and manage bitmaps, and use double buffering for better performance

  • Incorporate timing and animation with threaded game loops

  • Tap into the touch screen for user input

  • Learn to use Android sensors such as the accelerometer, gyroscope, compass, light detector, and thermometer

  • Integrate audio into your games using the media player

  • Build your own game engine library to simplify gameplay code in your projects

  • Animate games with sprites using atlas images and fast matrix transforms

  • Employ object-oriented programming techniques using inheritance and data hiding

  • Create an advanced animation system to add interesting behaviors to game objects

  • Detect collisions and simulate realistic movement with trigonometry

  • Experiment with an evolving engine coding technique that more naturally reflects how games are written

  • Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
    and much more.

    Read now

    Unlock full access

    More than 5,000 organizations count on O’Reilly

    AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

    QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
    Julian F.
    Head of Cybersecurity
    QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
    Addison B.
    Field Engineer
    QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
    Amir M.
    Data Platform Tech Lead
    QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
    Mark W.
    Embedded Software Engineer

    You might also like

    Learning Android Game Development

    Learning Android Game Development

    Nikhil Malankar
    Beginning Android 4 Games Development

    Beginning Android 4 Games Development

    Mario Zechner, Robert Green
    Beginning Android Games Development: From Beginner to Pro

    Beginning Android Games Development: From Beginner to Pro

    Ted Hagos, Mario Zechner, J.F. DiMarzio, Robert Green

    Publisher Resources

    ISBN: 9780133033809Purchase bookOther