Tuesday, July 24, 2018

From the Forums: 64×32 LED Matrix Arduino Mario Jumper

Arduino_Mario

A very nice project posted by FrozT in the Adafruit Forums.

As a project to teach my son coding for the Arduino we put together a little Mario jumping game. It may not be perfect but my interest in taking it any further is rapidly coming to a middle.

Ingredients:
64 x 32 LED Matrix
Arduino Mega (you might actually be able to do this on an Uno but I haven’t tried.)
IR Sensor or Button (I’m using IR so people actually have to jump.)
the codez (see below)

Instructions:
Put IR sensor on Analog pin A4 and attach it to a stick above your head. Then jump to make Mario jump. Your score will increase for every obstacle that you successfully pass or brick that you break. Once dead, just jump to reset.

The post then lists some very well written Arduino code for the game. Well done!

Check it out in the Adafruit forum post.

No comments:

Post a Comment