Building a Game App with the Android SDK

Building a Game App with the Android SDK
Building a Game App with the Android SDK
English | MP4 | AVC 1280×720 | AAC 48KHz 2ch | 2h 6m | 532 MB

Practice Android programming with this simple mobile game project. Learn how to build Android games using Java and the built-in features in the Android SDK.

There are many ways to build mobile games, but for most projects you’ll find everything you need in the core SDK. Practice Android programming while you learn to build a simple game app with the Android SDK and Java—no C++ or gaming engine required! This project showcases all of the SDK’s strengths, including clean, fluid motion; complex game mechanics; and persistent scoring. Instructor shows how to build the visuals, including the background, menus, and controls, and add animation with the built-in classes in Android. Then he helps you program the game logic. Learn how to define different levels, increment and display scores, manage game resources, and add audio effects—both longer music files with the MediaPlayer component and shorter sound effects with Android’s SoundPool class. This project is a fun and rewarding way to learn Android programming, and can be used as a template for your own game apps.

Topics include:

  • Working with Java vs. C++
  • Creating a new Android project
  • Defining the visuals: background, menus, and animation
  • Defining and managing levels
  • Displaying scores
  • Managing limited gaming resources
  • Completing the game logic
  • Adding audio effects
Table of Contents

What you should know
How to use the exercise files

1. Android Game Development Tools
Explore cross-platform toolkits
Working with Java vs. C++

2. Get Started
Describe the game’s goals and logic
Demonstrate the finished game
Create a starting Android project

3. Define Visual Presentation
Display a background image
Add game controls and info display
Display pin icons
Implement visual objects as Java classes
Manage balloon colors
Add animation logic
Launch balloons with animation

4. Define Gaming Logic
Define and manage levels
Pop the balloons
Display scores during game play
Manage limited gaming resources
End the game
Finish game logic
Track high score

5. Add Audio Effects
Play music with Media Player
Play sound effects with SoundPool

Next steps