A collection of classes and functions for animated text and graphics on an Adafruit LED Matrix.
Follow us on Facebook: https://www.facebook.com/ArcadeRetroClock
See Defender / Offender in action: https://www.youtube.com/watch?v=j_cFfgmmj1c
Watch the Video: https://youtu.be/Z9uW0MQYcrE?t=10
NEW! Dot Invaders https://www.youtube.com/watch?v=3ekUMhRTu3E
The Running Man
](https://www.youtube.com/watch?v=duzgGnZsffI)
Arcade Retro Clock started out as a project on an 8x8 matrix. Over the years it has been converted to 16x16 and now 64x32. Each conversion process involved solving many bugs and enhancing the game play especially with respects to the computer's ability to play against itself.
For LEDarcade, I decided to isolate classes, functions, sprites, etc. that are used specifically for displaying messages and animations and to exclude any functions used to control the specific games.
LEDArcade has many classes, functions, pre-defined sprites that are used to do the following:
- draw a sprite
- move a sprite
- make a sprite float across the screen
- raw animated sprites floating across the screen
- draw text of multiple sizes
- scroll text left or right at various speeds
- multiple ways to clear the screen (zooming in / zooming out / fading)
- scroll the screen around a large map, displaying only a section of the map in a window
There are many more functions available but they are fairly complex. As this project moves forward I will create more examples and document each function.
Raspberry Pi 3 and up
Adafruit LED Matrix (64x32)
Adafruit RGB Hat
hzeller's RBG LED Matrix code: https://github.com/hzeller/rpi-rgb-led-matrix
Modify the test.py script to contain the messages you want to display. Then execute by issuing the comand:
sudo python3 test.py
Join us on discord: https://discord.gg/fUzbh48vRm
I blog about my Raspberry Pi projects. https://datagod.hashnode.dev/ledarcade-upping-your-led-game
I have programmed 9 games on several sizes of LED matrixes using this library (in various forms). As I convert the games to this final library I'll add them here.
Dot Invaders is my take on the classic arcade game Space Invaders.
sudo python3 DotInvaders.py
sudo python3 Defender.py
sudo python3 Outbreak.py
sudo python3 SpaceDot.py
sudo python3 Tron.py
Run the following to put your clock into a mode that will cycle through all the available games.
sudo python3 arcade.py
You can connect your clock to Twitch and Patreon for interacting with your audience.
https://clips.twitch.tv/FuriousFuriousGrouseStoneLightning-yDK0DVBijVEFhwLF
#Additional Dependencies
Patreon
https://github.com/Patreon/patreon-python
sudo python3 -m pip install patreon
Flask
https://github.com/pallets/flask/
sudo python3 -m pip install flask
PageKite
Enables your Raspberry Pi to receive Webhook requests
https://pagekite.net/support/quickstart/
sudo apt-get install pagekite
curl -s https://pagekite.net/pk/ |sudo bash