Vitals:
Game Name: Super Xna Brothers
Creator: Shutout5591
Version: In Progress
Summary:
A remake of the classic Super Mario Brothers for NES, including a map editor. This is a project I have been working on in my spare time. No release date ATM. The game is built on top of a custom engine, that should allow me to port this game quite easily to Windows Phone 7 Series.
Solution Details:
This project has been released as open source. There are three projects – the map editor, the game, and the platformer generic game engine.
Map Editor
The map editor is a Windows Forms project that displays each game level in a grid, much like how it is rendered. Each level needs a tile set, which consists of an index, a name, and a texture location. Each level itself is a two dimensional array of integers – indexes referencing the tile. Note – there is a limitation of 10 unique tiles per level. This could be easily fixed, but at the expense of a more complicated map representation in a text file. Maps are exported as XML containing the tile set, and the level array.
Mario Game
Since the engine logic has been extracted to its own assembly, this project holds Mario specific functionality. These include Mario’s stages (regular, large, fire), powerups (One-Up, Coin, mushroom), particles/explosions (brick breaking), and enemies (goomba).
Platformer Engine
The platformer engine is responsible for the actual rendering of the game. The main logic occurs in the Components namespace, where the implementation of the maps, tiles, powerups, and map/physics objects lie. The engine also defines animations, particle collections, and the physics engine that handles updating the positions of all objects, as well as handling collisions on them.
Screenshots:
Downloads:
The entire SuperXNABrothers project is released as free source code, with no restrictions or limitations. I wrote it, but you own it. This project used XNA 3.1, but this code should build, once the references are updated for XNA 4. Note - I did not create the image assests or the font, they were found online. If I remembered where, I would give credit.

