Coffee Run is my first attempt at making an original flash game. It was made using the Flixel game engine for ActionScript3. In Coffee Run! you play as Joe and you collect cups of coffee to get energized, after you get all of the coffee cups in the level a special item appears that you have to collect. In the second level I added coworkers that you have to avoid while you gather the coffee cups. The level design is pretty terrible, but this is my first attempt at making my own game and it was made mostly as a proof of concept. I was trying to teach myself the ins and outs of the game engine and it actually went fairly well. There are only two levels in this game so there’s not much there but if you would like to play it the link is provided on this page.
Perhaps someday I will write a tutorial on building Coffee Run! but for now I am just releasing it into the world as-is as an open source project. So take it, enjoy it, hack it, do whatever with it. The level design is a simple TileMap, I’m actually using Flixel’s built in tiles because I figured there was no point in making a complex spritesheet for a game that I wasn’t planning on doing much with. If you want to make a level and send it to me, go for it, I will totally add it to the game. You can use any standard map creation program that will export data to an Array or you can even build levels in a text editor if you so choose as they are just strings of 1’s and 0’s. Take a look at the source, in /data/Levels/level-1.txt you can see what a level actually looks like. Coworkers, coffee, level instructions and special items are all added via another array added to the PlayState which you can find in the source code(PlayState.as) or you can just let me figure out where to put stuff in your level.