patreon

 

 

Android Projects

Android first arrived in 2008. At first, it was almost a poor relation to the much more stylish iOS on the Apple iPhone. But quite quickly, through diverse handset offers that struck a chord with both the practical price-conscious as well as the fashion-conscious and tech-hungry; Android user numbers literally exploded. For me, developing Android games is exceptionally rewarding. Today, Android is the fastest-growing operating system in the world and the biggest category of apps in the Google Play store is games. Add to this that it is very easy to get your app accepted for publication and Android seems like a great place for beginners to start their game programming journey. Although you can program for Android in other languages, Java is the default/language of choice. These beginners Android game programming projects start from getting your development environment set up, right through to a fully-working Space Invaders game. Used in conjunction with our beginner Java programming tutorials you can get started with zero previous experience of any sort.

Android Platformer Project Part 2

The Singleton Pattern, Java HashMap, Storing Bitmaps Efficiently, and Designing Levels
If you have landed on this page from a search engine you should first view part 1 of this platform […]

Android Platformer Project part 1

Exploring Patterns and Planning the Platformer Project
This project is taken from a previous version of my book Learning Java by Building Android Games. The latest version, version 3 went into […]

Programming a Pong Game for Android

If you are lucky and NOT old enough to remember Pong then you should take a look at it and find out some more before continuing. We will be programming […]

Coding a Snake Game for Android

As the title suggests, in this project we will build a simple snake-style game. This style of game has been around since the mid-1970s under other names like Worm and […]

Coding a parallax scrolling background for Android

In this tutorial, we will see the tricks and the code required to achieve a parallax scrolling background effect. The parallax effect is when different layers of backgrounds are moved […]

Building a Simple Android 2D Scrolling Shooter

This tutorial game project introduces the concept of a viewport. This is the aspect of our game which handles which part of the game-world is drawn to the screen. First, […]

Android 2d rotation and heading demo

In this project, we will put into practice everything we learned in part 1 and part 2 of the tutorial series on trigonometric functions. We will draw a simple triangle-shaped […]

Coding Android sprite sheet animations

This very simple tutorial will quickly bring your games to life by drawing the frames of animation from a row of frames drawn consecutively in the same file. We will […]

Coding a Space Invaders game for Android

Welcome to the Space Invaders coding project for Android. In this game project, we will step through everything you need to know to have a fully playable Space Invaders clone […]

Coding a Breakout (Arkanoid) game for Android

In this project, we will build a really simple but fun version of the classic Breakout game for Android. Often known as the “Brick breaker game” the history of the […]

Playing sound FX demo

In this mini-project, we will play a sound on an Android device. We will see how we use the SoundPool class to load a sound from a file and then […]

Building a simple game engine

In this mini-project we will draw a moving, controllable sprite to your Android device. We will draw Bob to the screen and when the screen is touched he will move […]

Drawing graphics demo

In this really simple mini-project, we will really harness the power of classes and objects by using classes from the Android API which allow us to draw graphics on the […]

loops demo

In this quick mini-project, we will put into practice different types of loops like loops and loops. Prepare to go loopy. Actually, it’s really simple. To get started Create a […]

Checking for conditions and branching demo

In this quick mini-project, we will practice how to test for conditions using Java in an Android game project. Condition testing is a basic staple of all programming including games. […]

Game variables demo

In this demo project, we will put into practice the concepts we learned about it in part 1 and part 2 of the Java tutorials. We will declare and initialize a […]

Deploying your first Android game

If you have just completed the tutorial Building your first Android game or if you have just forgotten how to get your latest project from your PC and onto a […]

Building your first Android game

In this project we will use the Android Studio new project wizard to build an app we can actually run on a real Android device. It won’t do anything except […]

Setting up Android Studio development environment

Setting up your Android development environment does not have to be hard. In this tutorial, I will walk you through all the steps required to install Android Studio 2.2.2. By […]