Skip navigation

After tackling PacMan (I’ve lost the source code, unfortunately) I stepped up to the next level and wrote a Super Mario NES clone.  Definitely a big step up from my previous games.  This game featured much more demanding character control, a scrollable level, a robust level-editor, better collision detection, a level-flow system, and many more unique actors populating the world.

It’s not finished, and by that I mean there are several features from the original game that are not implemented in my version. However, I feel I’ve learned about all I can from this game.  I did find out why the old adage “Composition over Inheritance” exists, as all my characters derive from a single PlatformActor class, so when special functionality was needed for one actor and not the others it became a bit of a mess. Now I know for next time! I’m pretty happy with the way it turned out, though.

You can look at the source code, use the level editor, and play 4 levels of the game by downloading the distributable zip file.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.