// Mauricio O. - project 3 Button[] buttons; String buttonNames[]= { "Up", "Down", "Flock", "Gold", "Reset", "Quit" }; int numButtons= buttonNames.length; int score=0; String title= "Project 3x"; String author= "Mauricio O."; String news=""; int count2; boolean debug=false; int n; float look; float birdX, birdY=20; float horizon=height/2; int step; float helpX, helpY; int count=0 ; float Ladder; int pairs; // float z = 1; float mX = 60, mY = 600; float x; float y= 100; float w; float h=height/2; float grizzDX; ; float shrink= .80; void setup() { //// setup //// size( 1000, 700); horizon= height/3; count=0 ; makebuttons(); } void makebuttons() { buttons= new Button[numButtons]; float x=150, y=50; for (int j=0; j100){ mY = mY-50; } } if ( frameCount%when == 30) { z = -z; if (mY100){ mY = mY-50; } } if ( frameCount%when == 45) { z = -z; if (mY0 ? 10 : -10; stroke(355,255,0); strokeWeight(6); for (float x=100; x100) mY = mY-50; } void down() { z = -z; if (mY x+w) return false; if (yy < y) return false; if (yy > y+h) return false; return true; } }//class//