Inspired by the classical Tank Wars game from the 90’s we set out to build a two player synthesizer game during this two day project. With an initial interest in learning MAX/MSP during this project, we decided to create a screen-based game with a physical interface.
Two players can synthesize their own music by hitting each others cannonballs, which in turn adds a note to the synthesizer. The pitch of the note depends on the height of the impact, while the length of the note depends on the velocity of the two notes on impact. The colour of the cannonballs change based on the pitch of the note. Using the physical interface, players can set the angle by tilting the tank’s gun and the cannonball’s velocity by using a motorized slider. The slider incorporates haptic feedback to the user.
How it works:
The physical interfaces (tanks) are controlled with a Teensy and the custom Motors & Music PCB which sends data to a Processing sketch which runs the custom game we created. When two cannonballs (or notes) collides, Processing sends the note pitch and length to Ableton which adds it to a looping synthesizer. Ableton plays the music and relays the notes back to Processing through a MAX/MSP patch. The Processing sketch visualises the playback of the notes as individual stars.
During this course we gained deeper insights into the use of haptics to enhance various interactions. We also got to work more with DC motors, Arduino, Processing, Ableton and MAX/MSP.