So, I figured I’d try LEDSprite. I was hopeful that it would save me some time over doing things myself or like @Yves_BAZIN has done (which is even more work, matrix handling by hand + sprite handling by hand).
I’m not going to lie, it took me way more hours than I was planning/hoping for, but I was able to make a demo using the LEDMatrix LEDSprites code.
I think the main reason that it was such is pain is that the automatic sprite bounce handling does not handle changing directions, just bouncing back in the opposite direction, while the edge detection code in the library is a bit buggy and detects the edge a bit too far in some directions, so I had to do it by hand.
But @Yves_BAZIN I’d still love to see your code if you have the time to replace your manual tiling code with NeoMatrix, so that it can be trivially ported to any size and type tiled matrix other than your own.
Anyway, here’s the code: https://github.com/marcmerlin/LEDSprites-Pacman
