Little Red Rocket

Little Red Rocket

This week during the second PComp lab, I set up Arduino and Processing so that I could manipulate a ball with two potentiometers and a button. To me, it was immediately clear that I had the basic setup for a video game. I set up a basic shooting game where the Red Rocket is controlled by the potentiometers and the button allows you to shoot the space rocks.

One pontentiometer controls the up and down and the other controls the right and left movement. The button is your shooter.

For the processing code, I read in the analog log and digital inputs from the Arduino using the serial library.