NXT Guitar Challenge Game
It is finally here on nxtprograms.com, after squeezing in bits of spare time throughtout the school and FLL season and other projects: The NXT Guitar Challenge Game! This project is a "Guitar Hero"-like game for your NXT that requires only a single NXT kit. Using a guitar controller built with a single NXT kit, you are challenged to play a series of "notes" that scroll towards you on the NXT screen while listening to the song. You select the correct note by sliding a plate on the neck of the guitar that is seen by the ultrasonic sensor, and then strum the note using a lever that triggers one or two touch sensors. The game counts your hit and missed notes and displays your score at the end of the song. And unlike other Guitar games, the music plays externally on your iPod or stereo, so you can listen to the real recording on your own sound system while playing along, and you can also author/record your own favorite songs and play along with the real recordings that you already own. You control the choice of music and the difficulty of the game recording!
Also included is a "Free Play" mode, where the guitar converts to an all-in-one self-contained instrument that you can play like a stand-alone guitar using 8 notes from the rock/blues scale. In this mode, the guitar is an upgraded version of the original Electric Guitar project, now including a fun "whammy bar" to bend tones (uses the light sensor as a high sensitivity distance sensor), and a convenient touch-sensor strum lever.
Back to the Game Mode, the free version of the game on the web includes the ability to play the game and record your own songs on the NXT, and 7 sample songs. An enhanced version of the game on the new CD 65 Fun Projects for your LEGO MINDSTORMS NXT allows full authoring and editing of songs on your Windows-based PC using a custom graphical editor. In the PC editor, you simply press keys on the keyboard while listenting to the music to "record" a song, then you can go back and edit/tweak it with the keyboard and mouse.
Also included with the CD version is full source code for the NXT game and NXT song recorder (in NXC) and source code for the PC song editor (in C/C++), so experienced C programmers can try making their own modifications to the game or the editor. Advanced NXT programmers can also use the source code as a way to start getting exposed to some NCX or C programming.
Building instructions are currently posted for NXT 1.0. I also have an NXT 2.0 version built and will post instructions for that as soon as I have time. I will also post a new video when I get a chance, for now here is a link to the preview video posted earlier.