int doverallScore=0; int dtechnologyScore=25; int dscienceScore=12; int dworldScore=21; int dsportsScore = 23; int dvideosScore=-16; int dentertainmentScore=3; int dgamingScore=0; PFont font; Character test; void setup(){ size(500, 300); test = new Character(0,0); font = loadFont("ArialMT-20.vlw"); textFont(font); }//end setup void draw(){ background(255); test.paint(); fill(0); text(dtechnologyScore+" : Tech", 250, 20); text(dscienceScore+" : Science", 250, 40); text(dworldScore+" : World & Business", 250, 60); text(dsportsScore+" : Sports", 250, 80); text(dvideosScore+" : Video", 250, 100); text(dentertainmentScore+" : Entertainment", 250, 120); text(dgamingScore+" : Gaming", 250, 140); }//end draw void randomize(){ dtechnologyScore = int(random(0, 100)); dscienceScore = int(random(0, 100)); dworldScore = int(random(0, 100)); dsportsScore = int(random(0, 100)); dvideosScore = int(random(0, 100)); dentertainmentScore = int(random(0, 100)); dgamingScore = int(random(0, 100)); }//end randomize void keyPressed(){ if(key == ' '){ randomize(); test.loadPics(); println("loaded!"); }//end key ' ' }//end keypressed