datagod / ArcadeRetroClockRGB

Arcade Retro Clock converted to run on RGB Matrix (64x32)
GNU General Public License v3.0
18 stars 1 forks source link

Can this project run on 32x32 RGB Matrix #11

Open BornTKill opened 2 years ago

BornTKill commented 2 years ago

Dear,

First of all i would like to congrats you for your great job. That’s cool to share it with the community :)

I have a 32x32 Matrix (no HAT, Direct GPIO) can this project work with ?

datagod commented 2 years ago

This project is written in python and uses rpi-rgb-led-matrix library to communicate with the panel. https://rpi-rgb-led-matrix.discourse.group/

A lot of the functions in the library are for writing text, or displaying animations. They work on any size LED, as long as you adjust the global variables HatHeight and HatWidth. The games however assume 64x32.

BornTKill commented 2 years ago

After some quick modifications I was able to launch Defender, DotInvader and Outbreak on 32x32 (fun job to adapt all the maps) Have to set ZoomFactor from 2 to 1 also. I post in this project but my modification has been done on LEDArcade. I try to backport PacDot but i failed :)

Again thank you !

datagod commented 2 years ago

That is really cool BornTKill. Thank you for your efforts! The whole project started on 8x8 matrix. Then I went to 16x16. I try to always use global variables HatHeight and HatWidth for the relative size, but sometimes I use 64. It is a big project and I have been developing on my own now for 5 years. I would love to see what you have done. Share a link to a video if you can.

datagod commented 2 years ago

Oh, I didn't realize until just now we are in an older project of mine. I migrated to LEDarcade last year and have been moving forward, getting larger displays. I just got defender working on 128x32. No code change required but it runs a bit slow.