Draw 8-bit Mario

Simple script to draw an 8-bit Mario on a figure using patches.
390 Descargas
Actualizado 19 feb 2013

Ver licencia

function [ ] = mario( min_x, max_x, min_y, max_y )
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% MARIO This will draw an 8-bit version of mario in 12 x 16 resolution on the current figure. If no figure exists, will create a figure.

Inputs: min_x, max_x, min_y, max_y
% These coordinates specify the start and end coordinates to draw mario. Divides the vertical space into 16 chunks to determine the pixel size. Can change colors of specific parts such as overalls or mustache inside function.

Example Usage:
mario(0,12,0,16);
xlim([0 16]);

Citar como

Luis Piloto (2026). Draw 8-bit Mario (https://es.mathworks.com/matlabcentral/fileexchange/40334-draw-8-bit-mario), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2010a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Just for fun en Help Center y MATLAB Answers.
Versión Publicado Notas de la versión
1.1.0.0

Corrected example code in description. Thanks to Aurelien Queffurust for pointing it out!

1.0.0.0