Following a tutorial at http://www.kilobolt.com/game-development-tutorial.html