Code covered by the BSD License  

Highlights from
Super Mario Bros. Demo

4.9 | 12 ratings Rate this file 133 Downloads (last 30 days) File Size: 48.1 KB File ID: #40961 Version: 1.1
image thumbnail

Super Mario Bros. Demo


Mingjing Zhang (view profile)


26 Mar 2013 (Updated )

A playable demo of Super Mario Bros. World 1-1 with background music

| Watch this File

File Information

Super Mario Bros. Demo for MATLAB
Mingjing Zhang @ Simon Fraser University

What it is
This is a short demo of World 1-1 of Super Mario Bros. The demo emulates the behaviour of the original NES version as precise as my time and energy allow.

There are no enemies/coins/power-ups. The bricks are not interactive.

The flagpole and castle at the end of the stage are missing. The demo terminates when Mario moves out of the stage on the right.

There is background music which can be turned on before the game starts.

*The image you see up there is an ACTUAL screenshot of this demo.

Regular Version:
    Put stl_mario_main.m and two .mat files under the same folder.
    Run stl_mario_main.m
App Version:
    Just like any other MATLAB app

A/D - Left/Right
J - Sprint
K - Jump

How to Quit
1. Walk to the end of the stage, or;
2. Close the figure window
* WARNING: The window should shut down itself upon error. If it doesn't, please type 'delete(gcf)' in the command window to manually kill the figure window.



Mario Sim V0.1 and Theme From Super Mario Brothers Song inspired this file.

This file inspired Sprite Kit Framework.

MATLAB release MATLAB 8.1 (R2013a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (13)
27 Sep 2014 Meifeng Xiao

Very cool game! Thank you for your sharing!

23 May 2014 Ahmet

Ahmet (view profile)

21 Mar 2014 Edgar Guevara

Edgar Guevara (view profile)

Great retro-gaming, and in MATLAB, nonetheless. Looking forward to the full version!

21 Mar 2014 Bustamante

Oh hell, is that really possible?? I just can use a word, INCREDIBLE!!!

05 Feb 2014 Cheuk

Cheuk (view profile)

01 Oct 2013 Timothy

You are brilliant, but I question your sanity. :)

Comment only
12 Sep 2013 Aurelien Queffurust


20 Jun 2013 nsbd

nsbd (view profile)

28 May 2013 Nohting  
03 May 2013 Zhuo Li

Zhuo Li (view profile)

26 Apr 2013 matt dash

matt dash (view profile)

23 Apr 2013 Rodrigo R. Oliveira  
26 Mar 2013 Ryan G

Ryan G (view profile)

Very cool demo. Really like the stuff you put up here.

22 Apr 2013 1.1

* Added music.
* Corrected a bug which occurs when Mario is about the land on the ground from an absolute vertical fall.
* Added a try - catch block to automatically delete figure/audioplayer upon error.
* UPGRADED to version 1.10

Contact us