Jump to content
43oh

RGB Matrix slot machine game


Recommended Posts

I have started to develop a slot machine based an 8x8 RGB matrix. I intend this to be a learning experience, and I am going to focus on the logic and control of the game.

Hardware:

Tiva C Launchpad

TLC5947 breakout from Adafruit

8 PNP transistors

8 1k resistors

 

As of right now, I have 2x2 sprites in 6 colors representing the symbols on the reels. Each 'spin', I populate an array representing the matrix with randomly chosen colors of sprites and place them in the matrix. Then I set a random number of rotations where the symbols spin and then slow down and come a stop. As of right now, all three reels spin and stop at the same rate, but I plan to update that to be more slot machine like. I also have not implemented any sort of win detection mechanism.

Here is a short video, but it looks much better in person. The scrolling effect is much smoother and realistic.

Link to post
Share on other sites
  • 2 weeks later...
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...