/* Battle Pods by Cadin Batrack 9.20.05 PLEASE NOTE: This software is incomplete. I haven't had a chance to work out the bugs or clean up the code. View at your own risk. If using without pods: LEFT = blue fish DOWN = ruby slippers SHIFT = yellow fish x = magic 8 ball */ // hardware currently supports 10 pods // (5 for each player) // software currently supports 4: int totalPods = 4; // array of pods pod[] podArray = new pod[totalPods]; //image arrays for character images and special weapons PImage[] imageArray = new PImage[totalPods]; PImage[] specialArray = new PImage[totalPods]; int p1pod, p2pod; boolean p1isSelected, p2isSelected; int p1timer, p2timer; //misc images PImage bg, blank_b, blank_y, sp1, sp2; boolean released; void setup() { size(700,350); //load interface bg = loadImage("background.jpg"); blank_b= loadImage("ch_blank_b.jpg"); blank_y= loadImage("ch_blank_y.jpg"); //populate image Array for (int i = 0; i