Monkey X Mars Explorer Game

A simple two stage parallax side-scrolling 2D retro game inspired by Moon Patrol and created for educational and development speed benchmarking purposes.

You can play Mars Explorer in your web browser right here on my website.


Download the Monkey X Mars Explorer Game Full Source Code (only 479 KB!) ready to use in Monkey X (free download available for Windows, MAC and Linux).

A simple two stage parallax side-scrolling 2D retro game inspired by Moon Patrol.

PLEASE NOTE: This is not a complete ready to publish game. It is a complete example of how to program a game in Monkey X. As such it contains only two stages which is all that is needed to show how to handle the player completing one stage and proceeding to the next. You can easily add new stages in the Tiled map editor and update the program accordingly to allow the player to proceed to your new stages.

There are many other enhancements you can make such as adding a framerate-independent update system, a High Score Screen, programming different behavior for the two different aliens, adding new aliens (perhaps even a Boss battle at the end of the stage) and so forth.

Those are all things I would do for a real game project.

Right now what you get is a complete framework for such a game. Think of it as a sort of Monkey X parallax side scrolling arcade game template.

I’ve been programming and making games as a hobby for over 30 years now. This will show you how I program video games. The source code may be helpful to learn how to structure your games to manage game projects much more complex than this one.

I hereby release this project source into the public domain for educational purposes. Feel free to use any of the code in your own projects.

I spent 32 hours on this game project in total. That is a lot of time to me and at the same time I think it is very reasonable. I had to learn how to best apply my development style to this new environment and also needed to get the game structure within Monkey X defined, create the graphics, design the stages in tile maps and so forth.

I hope the source code helps you!