Dan Ruscoe's Personal Site

Open Source Code

Android Tile-Based Game

This is an example of a basic tile-based, 2D game using Android's Canvas. It can be used as a base for any kind of game that uses a tile-based map.

This code provides a simple way to build maps based on your own tiles, player movement / tracking and detection of collisions with any number of different tile types.

This code is used to produce the levels in the Android game Radius.

Download Code

Android Tile-Based Game on GitHub

Compiled example apk file

License

The MIT License

Android Tile Game Example Screen Shot