Super Mario Bros. Demo

A playable demo of Super Mario Bros. World 1-1 with background music
26,9K Downloads
Aktualisiert 22. Apr 2013

Lizenz anzeigen

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.
----------

Installation
------------
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
------------

Control
-------
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.
-------

Enjoy!

Zitieren als

Mingjing Zhang (2024). Super Mario Bros. Demo (https://www.mathworks.com/matlabcentral/fileexchange/40961-super-mario-bros-demo), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2013a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Video games finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Mario Sim v0.1, Theme from Super Mario Brothers Song

Inspiriert: SpriteKit Framework

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
1.1.0.0

* 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

1.0.0.0