PImage img;
PImage studio;
PImage story;
PImage year1;
PImage studioc;
PImage storyc;
PImage yearc;
PImage ano7;
PImage ano8;
PImage ano9;
PImage ano10;
PImage ano11;
PImage century;
PImage aardman;
PImage crest;
PImage disney;
PImage dreamworks;
PImage focus;
PImage fox;
PImage lionsgate;
PImage paramount;
PImage pixar;
PImage relativity;
PImage sony;
PImage summit;
PImage universal;
PImage village;
PImage warner;
PImage independent;
PImage comedy;
PImage discovery;
PImage fish;
PImage journey;
PImage love;
PImage maturation;
PImage metamorphosis;
PImage monster;
PImage quest;
PImage rescue;
PImage rivalry;
PImage sacrifice;
PImage temptation;
PImage transformation;
PImage underdog;
PImage background;
int estado =1;
String[] texto07;
String[] texto08;
String[] texto09;
String[] texto10;
String[] texto11;
String[] txtcentury;
String[] txtaardman;
String[] txtcrest;
String[] txtdisney;
String[] txtdreamworks;
String[] txtfocus;
String[] txtfox;
String[] txtlionsgate;
String[] txtparamount;
String[] txtpixar;
String[] txtrelativity;
String[] txtsony;
String[] txtsummit;
String[] txtuniversal;
String[] txtvillage;
String[] txtwarner;
String[] txtindependent;
String[] txtcomedy;
String[] txtdiscovery;
String[] txtfish;
String[] txtjourney;
String[] txtlove;
String[] txtmaturation;
String[] txtmetamorphosis;
String[] txtmonster;
String[] txtquest;
String[] txtrescue;
String[] txtrivalry;
String[] txtsacrifice;
String[] txttemptation;
String[] txttransformation;
String[] txtunderdog;
void setup(){
size (850,638);
background(0);
img=loadImage("cortinaanimationfilms2.jpg");
image(img,0,0);
texto07 = loadStrings("2007.txt");
texto08 = loadStrings("2008.txt");
texto09 = loadStrings("2009.txt");
texto10 = loadStrings("2010.txt");
texto11 = loadStrings("2011.txt");
txtcentury = loadStrings("20century.txt");
txtaardman =loadStrings("aardman.txt");
txtcrest = loadStrings("crest.txt");
txtdisney = loadStrings("disney.txt");
txtdreamworks = loadStrings("dreamworks.txt");
txtfocus = loadStrings("focus.txt");
txtfox = loadStrings("fox.txt");
txtlionsgate = loadStrings("lionsgate.txt");
txtparamount = loadStrings("paramount.txt");
txtpixar = loadStrings("pixar.txt");
txtrelativity = loadStrings("relativity.txt");
txtsony = loadStrings("sony.txt");
txtsummit = loadStrings("summit.txt");
txtuniversal = loadStrings("universal.txt");
txtvillage = loadStrings("village.txt");
txtwarner = loadStrings("warner.txt");
txtindependent = loadStrings("independent.txt");
txtcomedy = loadStrings("comedy.txt");
txtdiscovery = loadStrings("discovery.txt");
txtfish = loadStrings("fishoow.txt");
txtjourney = loadStrings("journey.txt");
txtlove = loadStrings("love.txt");
txtmaturation = loadStrings("maturation.txt");
txtmetamorphosis = loadStrings("metamorphosis.txt");
txtmonster = loadStrings("monsterforce.txt");
txtquest = loadStrings("quest.txt");
txtrescue = loadStrings("rescue.txt");
txtrivalry = loadStrings("rivalry.txt");
txtsacrifice = loadStrings("sacrifice.txt");
txttemptation = loadStrings("temptation.txt");
txttransformation = loadStrings("transformation.txt");
txtunderdog = loadStrings("underdog.txt");
studio=loadImage("studio2.jpg");
story=loadImage("story2.jpg");
year1=loadImage("year2.jpg");
studioc=loadImage("studiocortina.jpg");
storyc=loadImage("storycortina.jpg");
yearc=loadImage("yearcortina.jpg");
ano7=loadImage("2007.jpg");
ano8=loadImage("2008.jpg");
ano9=loadImage("2009.jpg");
ano10=loadImage("2010.jpg");
ano11=loadImage("2011.jpg");
century=loadImage("20THCENTURY.jpg");
aardman=loadImage("aardman.jpg");
crest=loadImage("crest.jpg");
disney=loadImage("disney.jpg");
dreamworks=loadImage("dreamworks.jpg");
focus=loadImage("focus.jpg");
fox=loadImage("fox.jpg");
lionsgate=loadImage("lionsgate.jpg");
paramount=loadImage("paramount.jpg");
pixar=loadImage("pixar.jpg");
relativity=loadImage("relativity.jpg");
sony=loadImage("sony.jpg");
summit=loadImage("summit.jpg");
universal=loadImage("universal.jpg");
village=loadImage("village.jpg");
warner=loadImage("warner.jpg");
independent=loadImage("independent.jpg");
comedy=loadImage("comedy.jpg");
discovery=loadImage("discovery.jpg");
fish=loadImage("fish.jpg");
journey=loadImage("journey.jpg");
love=loadImage("love.jpg");
maturation=loadImage("maturation.jpg");
metamorphosis=loadImage("metamorphosis.jpg");
monster=loadImage("monster.jpg");
quest=loadImage("quest.jpg");
rescue=loadImage("rescue.jpg");
rivalry=loadImage("rivalry.jpg");
sacrifice=loadImage("sacrifice.jpg");
temptation=loadImage("temptation.jpg");
transformation=loadImage("transformation.jpg");
underdog=loadImage("under.jpg");
background= img;
}
void draw(){
if (estado==1){//principal
image(studioc,0,0,width,height);
image(storyc,0,0,width,height);
image(yearc,0,0,width,height);
image(background,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
}
if (estado==2){//year
image(studioc,0,0,width,height);
image(storyc,0,0,width,height);
image(yearc,0,0,width,height);
image(background,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
image(ano7,200,150,180,80);
image(ano8,500,150,180,80);
image(ano9,200,250,180,80);
image(ano10,500,250,180,80);
image(ano11,350,350,180,80);
}
if (estado==3){//studio
image(studioc,0,0,width,height);
image(storyc,0,0,width,height);
image(yearc,0,0,width,height);
image(background,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
image(century,150,110,130,80);
image(aardman,300,110,130,80);
image(crest,450,110,130,80);
image(disney,600,110,130,80);
image(dreamworks,150,210,130,80);
image(focus,300,210,130,80);
image(fox,450,210,130,80);
image(lionsgate,600,210,130,80);
image(paramount,150,310,130,80);
image(pixar,300,310,130,80);
image(relativity,450,310,130,80);
image(sony,600,310,130,80);
image(summit,150,410,130,80);
image(universal,300,410,130,80);
image(village,450,410,130,80);
image(warner,600,410,130,80);
image(independent,10,260,130,80);
}
if (estado==4){//story
image(studioc,0,0,width,height);
image(storyc,0,0,width,height);
image(yearc,0,0,width,height);
image(background,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
image(comedy,50,150,130,80);
image(discovery,200,150,130,80);
image(fish,350,150,130,80);
image(journey,500,150,130,80);
image(love,650,150,130,80);
image(maturation,50,250,130,80);
image(metamorphosis,200,250,130,80);
image(monster,350,250,130,80);
image(quest,500,250,130,80);
image(rescue,650,250,130,80);
image(rivalry,50,350,130,80);
image(sacrifice,200,350,130,80);
image(temptation,350,350,130,80);
image(transformation,500,350,130,80);
image(underdog,650,350,130,80);
}if (estado==5){//year 2007
background(0);
image(yearc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<texto07.length;x++){
text(texto07[x],350,200+30*x);}
}
if (estado==6){//year 2008
background(0);
image(yearc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<texto08.length;x++){
text(texto08[x],350,160+30*x);}
}
if (estado==7){//year 2009
background(0);
image(yearc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<texto09.length;x++){
text(texto09[x],350,150+30*x);}
}
if (estado==8){//year 2010
background(0);
image(yearc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<texto10.length;x++){
text(texto10[x],350,200+30*x);}
}
if (estado==9){//year 2011
background(0);
image(yearc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<texto11.length;x++){
text(texto11[x],380,150+30*x);}
}
if (estado==10){//century
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtcentury.length;x++){
text(txtcentury[x],400,320+30*x);}
}
if (estado==11){//aardman
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtaardman.length;x++){
text(txtaardman[x],380,320+30*x);}
}
if (estado==12){//crest
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtcrest.length;x++){
text(txtcrest[x],380,320+30*x);}
}
if (estado==13){//disney
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtdisney.length;x++){
text(txtdisney[x],380,150+30*x);}
}
if (estado==14){//dreamworks
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtdreamworks.length;x++){
text(txtdreamworks[x],380,320+30*x);}
}
if (estado==15){//focus
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtfocus.length;x++){
text(txtfocus[x],420,320+30*x);}
}
if (estado==16){//fox
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtfox.length;x++){
text(txtfox[x],350,250+30*x);}
}
if (estado==17){//lionsgate
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtlionsgate.length;x++){
text(txtlionsgate[x],380,320+30*x);}
}
if (estado==18){//paramount
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtparamount.length;x++){
text(txtparamount[x],380,180+30*x);}
}
if (estado==19){//pixar
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtpixar.length;x++){
text(txtpixar[x],400,320+30*x);}
}
if (estado==20){//relativity
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtrelativity.length;x++){
text(txtrelativity[x],400,320+30*x);}
}
if (estado==21){//sony
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtsony.length;x++){
text(txtsony[x],350,300+30*x);}
}
if (estado==22){//summit
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtsummit.length;x++){
text(txtsummit[x],400,320+30*x);}
}
if (estado==23){//universal
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtuniversal.length;x++){
text(txtuniversal[x],380,300+30*x);}
}
if (estado==24){//village
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtvillage.length;x++){
text(txtvillage[x],380,320+30*x);}
}
if (estado==25){//warner
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtwarner.length;x++){
text(txtwarner[x],280,320+30*x);}
}
if (estado==26){//independent
background(0);
image(studioc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtindependent.length;x++){
text(txtindependent[x],300,260+30*x);}
}
if (estado==27){//comedy
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtcomedy.length;x++){
text(txtcomedy[x],300,260+30*x);}
}
if (estado==28){//discovery
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtdiscovery.length;x++){
text(txtdiscovery[x],400,300+30*x);}
}
if (estado==29){//fish out of water
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtfish.length;x++){
text(txtfish[x],400,280+30*x);}
}
if (estado==30){//journey
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtjourney.length;x++){
text(txtjourney[x],400,200+30*x);}
}
if (estado==31){//love
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtlove.length;x++){
text(txtlove[x],400,300+30*x);}
}
if (estado==32){//maturation
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtmaturation.length;x++){
text(txtmaturation[x],380,300+30*x);}
}
if (estado==33){//metamorphosis
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtmetamorphosis.length;x++){
text(txtmetamorphosis[x],360,300+30*x);}
}
if (estado==34){//monster force
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtmonster.length;x++){
text(txtmonster[x],380,300+30*x);}
}
if (estado==35){//quest
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtquest.length;x++){
text(txtquest[x],380,200+30*x);}
}
if (estado==36){//rescue
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtrescue.length;x++){
text(txtrescue[x],400,260+30*x);}
}
if (estado==37){//rivalry
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtrivalry.length;x++){
text(txtrivalry[x],300,300+30*x);}
}
if (estado==38){//sacrifice
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtsacrifice.length;x++){
text(txtsacrifice[x],380,300+30*x);}
}
if (estado==39){//temptation
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txttemptation.length;x++){
text(txttemptation[x],420,300+30*x);}
}
if (estado==40){//transformation
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txttransformation.length;x++){
text(txttransformation[x],400,260+30*x);}
}
if (estado==41){//underdog
background(0);
image(storyc,0,0,width,height);
image(studio,200,500,100,80);
image(story,400,500,100,80);
image(year1,600,500,100,80);
for(int x=0;x<txtunderdog.length;x++){
text(txtunderdog[x],350,300+30*x);}
}
}