JColvin Posted June 10, 2015 Share Posted June 10, 2015 I finally got some time to design my own Color Invaders project, originally inspired by Hamster's own Colour Invaders project. I ended up writing a lot of my own code for it since I have a personal thing about using somebody else's code in it's entirety, although Hamster's code obviously has a heavy influence on it's overall construction (thank you for posting it!). This game is similar to the classic Space Invaders game, or more closely related to Casio's Number Invaders on the calculator, where you have a stream of incoming invaders of a variety of colors coming down the WS2812 LED strip and you have to adjust the color of your missile to match the color of the first invader via the PmodENC (a rotary encoder). You can check out how I made the project as well as a small video showing some of it in action at http://www.instructables.com/id/Color-Invaders/. Link to comment Share on other sites More sharing options...
Josh Posted June 10, 2015 Share Posted June 10, 2015 I've played it! It's pretty fun! Link to comment Share on other sites More sharing options...
hamster Posted June 10, 2015 Share Posted June 10, 2015 Looks great! Now you need to add some sounds :-) Link to comment Share on other sites More sharing options...
JColvin Posted June 11, 2015 Author Share Posted June 11, 2015 That would be pretty sweet; I'll have to look into generating sounds from a pwm speaker that aren't musical notes. Or figure out the frequency values of the classic explosion and charging noises. Link to comment Share on other sites More sharing options...
JColvin Posted June 12, 2015 Author Share Posted June 12, 2015 I just got nearly all the sound effects (via a small piezoelectric speaker) that I wanted successfully added to the program: a charging sound, an explosion sound, and a losing the game sound. I'll add a superShot sound tomorrow and post the updated code. Link to comment Share on other sites More sharing options...
JColvin Posted June 12, 2015 Author Share Posted June 12, 2015 Here is the updated code in a zipped up .pde file and a .txt file. When I get a bit more time, I'll appropriately update the Instructable/make a new one as well. ColorInvaders.txt ColorInvaders.zip Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.