Archive for May, 2011

Tiled Maps

libgdx contains built-in support for tiled maps.  If you look inside com.cmein.tilemap.utils, you will see several classes, none of which we wrote (thanks libgdx!).  If you open up, you’ll notice it has a runnable main method.  In this main method, there are only three lines that need to be edited to create a tiled map:

tmxFile = new File("data/tiledmaps/LEVEL2.tmx");
baseDir = new File("data/");
outputDir = new File("data/");

The file extension “.tmx” may be foreign to you; it is associated with “Tiled”, a program to help the process of making tiled maps (see  The main method in TiledMapPacker takes the .tmx file and outputs two new files.

Continue reading


In libgdx, the loading of the art and the game loop are all controlled in a single file.  For our project [source code], this is the ‘’ class located in com.cmein.tilemap.  This class is the top level loader and renderer; every other class in some way connects back to it.  Notice that tilemap extends the abstract class ApplicationListener.  It is this feature of libgdx that abstracts away the differences between the desktop application and the Android application.

Continue reading

Project Background

We first conceived of this project during winter break before our final semester at Brandeis University.  With no experience whatsoever in mobile applications or game development, we dove head first into an Android game.  Here are some of the preliminary decisions we made, as well as the reasoning behind them.

Continue reading


This blog is a development-journal of our open-source Android game Splot Attacks. The game was created for an independent study course (COSI 98b) at Brandeis University. In this blog, you can read about why we chose the Android platform, how we conceptualized the game, what game development framework we chose, and the entire developmental process of Splot Attacks. Ultimately, we hope that this journal can serve as an introduction to writing Android games for amateur programmers.

Continue reading