Raspberry PI LED Matrix Games

A while back I brought a new hat for the Raspberry PI called the unicorn hat HD. Its a 16 x 16 led matrix (256 LEDs) which I managed to get cheap while it was discounted.

I started playing with it recently and at first tried to use it as an over head minimap in mine craft. This kind of worked but the mine craft API was too slow to feed it data quick enough. All well and good if you only stood in one place but useless otherwise.

Next I thought I would try building some pixel games and have been working on a little space invaders clone.

The game is written in python and uses the pygame package for keyboard input but if it were to use something else for input like GPIO pins then pygame could be ditched.

I need to get my head round drawing text to it so I can make a game over screen etc…

You can clone the code here: https://github.com/kenjara/Unicorn-Hat-HD-Games

space1

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 )

Google+ photo

You are commenting using your Google+ 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