xxxxxxxxxx
var _0x855d=["\x48\x6F\x77\x20\x74\x6F\x20\x6D\x61\x6B\x65\x20\x61\x20\x50\x42\x20\x61\x6E\x64\x20\x4A","\x49\x6E\x67\x72\x65\x64\x69\x65\x6E\x74\x73\x3A","\x50\x75\x74\x20\x70\x65\x61\x6E\x75\x74\x20\x62\x75\x74\x74\x65\x72\x20\x61\x6E\x64\x20\x6A\x65\x6C\x6C\x79\x20\x6F\x6E\x20\x73\x6C\x69\x63\x65\x73","\x50\x75\x74\x20\x73\x6C\x69\x63\x65\x73\x20\x74\x6F\x67\x65\x74\x68\x65\x72\x3A","\x43\x75\x74\x20\x6F\x66\x66\x20\x63\x72\x75\x73\x74\x3A","\x43\x75\x74\x20\x69\x6E\x74\x6F\x20\x68\x61\x6C\x76\x65\x73\x3A","\x45\x41\x54","\x70\x72\x65\x76\x69\x6F\x75\x73","\x6D\x6F\x75\x73\x65\x50\x72\x65\x73\x73\x65\x64","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6E\x65\x78\x74","\x62\x6C\x61\x63\x6B","\x62\x72\x6F\x77\x6E","\x62\x65\x69\x67\x65","\x70\x75\x72\x70\x6C\x65","\x61\x71\x75\x61","\x67\x72\x65\x79","\x77\x68\x69\x74\x65"];var button;var button2;var button3;var button4;var whichCanvas=0;var canvas0Text=_0x855d[0];var canvas0Text2=_0x855d[0];var canvas0Text3=_0x855d[0];var text0x=200;var text0y=100;var text0x2=100;var text0y2=50;var text0x3=100;var text0y3=300;var text0velx=2;var text0vely=2;var text0velx2=2;var text0vely2=2;var text0velx3=2;var text0vely3=2;var canvas1Text2=_0x855d[1];var canvas2Text=_0x855d[2];var canvas3Text=_0x855d[3];var canvas4Text=_0x855d[4];var canvas5Text=_0x855d[5];var canvas6Text=_0x855d[6];var crust1x=-110;var crust2x=-110;var crust1y=180;var crust2y=290;var bread1x=-100;var bread2x=-100;var bread1y=190;var bread2y=300;var jelly1x=180;var jelly1y=410;var jcap1x=185;var jcap1y=405;var peanut1x=255;var peanut1y=410;var pcap1x=260;var pcap1y=405;var jellyx=60;var jellyy=125;var jcapx=65;var jcapy=120;var peanutx=275;var peanuty=125;var pcapx=280;var pcapy=120;var crustTop3x=150;var crustTop3y=50;var crustBottom3x=150;var crustBottom3y=350;var jelly3x=160;var jelly3y=70;var peanut3x=160;var peanut3y=340;var crustxS4=150;var crustyS4=200;var breadxS4=160;var breadyS4=210;var knifex=150;var knifey=80;var knifeHx=290;var knifeHy=80;var knife5x=150;var knife5y=80;var knifeH5x=290;var knifeH5y=80;var breadFullx=180;var breadFully=200;var breadHalf1x=1000;var breadHalf1y=1000;var breadHalf2x=1000;var breadHalf2y=1000;var breadP1x=160;var breadP1y=190;var breadP2x=160;var breadP2y=220;var peanutP1x=170;var peanutP1y=210;var jellyP1x=170;var jellyP1y=200;var breadP3x=40;var breadP3y=190;var breadP4x=40;var breadP4y=220;var peanutP2x=50;var peanutP2y=210;var jellyP2x=50;var jellyP2y=200;function setup(){createCanvas(400,400);button= createButton(_0x855d[7]);button[_0x855d[8]](previous);button[_0x855d[9]](20,20);button2= createButton(_0x855d[10]);button2[_0x855d[8]](next);button2[_0x855d[9]](340,20)}function draw(){background(220);if(whichCanvas== 0){canvas0()}else {if(whichCanvas== 1){canvas1()}else {if(whichCanvas== 2){canvas2()}else {if(whichCanvas== 3){canvas3()}else {if(whichCanvas== 4){canvas4()}else {if(whichCanvas== 5){canvas5()}else {if(whichCanvas== 6){canvas6()}}}}}}}}function previous(){if(whichCanvas== 1){whichCanvas= 0}else {if(whichCanvas== 2){whichCanvas= 1}else {if(whichCanvas== 3){whichCanvas= 2}else {if(whichCanvas== 4){whichCanvas= 3}else {if(whichCanvas== 5){whichCanvas= 4}else {if(whichCanvas== 6){whichCanvas= 5}}}}}}}function next(){if(whichCanvas== 0){whichCanvas= 1}else {if(whichCanvas== 1){whichCanvas= 2}else {if(whichCanvas== 2){whichCanvas= 3}else {if(whichCanvas== 3){whichCanvas= 4}else {if(whichCanvas== 4){whichCanvas= 5}else {if(whichCanvas== 5){whichCanvas= 6}}}}}}}function canvas0(){background(220);textAlign(CENTER);textSize(20);text(canvas0Text,text0x,text0y);text(canvas0Text2,text0x2,text0y2);text(canvas0Text3,text0x3,text0y3);text0x= text0x+ text0velx;text0y= text0y+ text0vely;text0x2= text0x2+ text0velx2;text0y2= text0y2+ text0vely2;text0x3= text0x3+ text0velx3;text0y3= text0y3+ text0vely3;if(text0x> 300){text0velx= text0velx* -1}else {if(text0x< 100){text0velx= text0velx* -1}else {if(text0y> 390){text0vely= text0vely* -1}else {if(text0y< 0){text0vely= text0vely* -1}}}};if(text0x2> 300){text0velx2= text0velx2* -1}else {if(text0x2< 100){text0velx2= text0velx2* -1}else {if(text0y2> 390){text0vely2= text0vely2* -1}else {if(text0y2< 0){text0vely2= text0vely2* -1}}}};if(text0x3> 300){text0velx3= text0velx3* -1}else {if(text0x3< 100){text0velx3= text0velx3* -1}else {if(text0y3> 390){text0vely3= text0vely3* -1}else {if(text0y3< 0){text0vely3= text0vely3* -1}}}}}function canvas1(){background(220);textAlign(CENTER);textSize(20);fill(_0x855d[11]);text(canvas1Text2,200,130);fill(_0x855d[12]);stroke(_0x855d[12]);rect(crust1x,crust1y,100,100);rect(crust2x,crust2y,100,100);fill(_0x855d[13]);stroke(_0x855d[13]);rect(bread1x,bread1y,80,80);rect(bread2x,bread2y,80,80);fill(_0x855d[14]);stroke(_0x855d[11]);rect(jelly1x,jelly1y,50,70);fill(_0x855d[11]);stroke(_0x855d[11]);rect(jcap1x,jcap1y,40,10);fill(245,188,98);stroke(245,188,98);rect(peanut1x,peanut1y,50,70);fill(_0x855d[15]);stroke(_0x855d[15]);rect(pcap1x,pcap1y,40,10);if(crust1x<= 40){crust1x= crust1x+ 1};if(crust2x<= 40){crust2x= crust2x+ 1};if(bread1x<= 50){bread1x= bread1x+ 1};if(bread2x<= 50){bread2x= bread2x+ 1};if(jelly1y>= 300){jelly1y= jelly1y- 1};if(jcap1y>= 295){jcap1y= jcap1y- 1};if(peanut1y>= 300){peanut1y= peanut1y- 1};if(pcap1y>= 295){pcap1y= pcap1y- 1}}function canvas2(){background(220);textAlign(CENTER);textSize(20);fill(_0x855d[11]);text(canvas2Text,200,100);fill(_0x855d[12]);stroke(_0x855d[12]);rect(40,340,100,20);rect(250,340,100,20);fill(_0x855d[14]);stroke(_0x855d[11]);rect(jellyx,jellyy,50,70);fill(_0x855d[11]);stroke(_0x855d[11]);rect(jcapx,jcapy,40,10);fill(245,188,98);stroke(245,188,98);rect(peanutx,peanuty,50,70);fill(_0x855d[15]);stroke(_0x855d[15]);rect(pcapx,pcapy,40,10);jellyy= jellyy+ 1;jcapy= jcapy+ 1;peanuty= peanuty+ 1;pcapy= pcapy+ 1;if(jellyy>= 280){jellyx= 800;fill(_0x855d[14]);stroke(_0x855d[14]);rect(50,330,80,10)};if(jcapy>= 275){jcapx= 800};if(peanuty>= 280){peanutx= 800;fill(245,188,98);stroke(245,188,98);rect(260,330,80,10)};if(pcapy>= 275){pcapx= 800}}function canvas3(){background(220);textAlign(CENTER);textSize(20);fill(_0x855d[11]);text(canvas3Text,200,100);fill(_0x855d[12]);stroke(_0x855d[12]);rect(crustTop3x,crustTop3y,100,20);rect(crustBottom3x,crustBottom3y,100,20);fill(_0x855d[14]);stroke(_0x855d[14]);rect(jelly3x,jelly3y,80,10);fill(245,188,98);stroke(245,188,98);rect(peanut3x,peanut3y,80,10);if(peanut3y>= 210){peanut3y= peanut3y- 1};if(crustBottom3y>= 220){crustBottom3y= crustBottom3y- 1};if(jelly3y<= 200){jelly3y= jelly3y+ 1};if(crustTop3y<= 180){crustTop3y= crustTop3y+ 1}}function canvas4(){textAlign(CENTER);textSize(20);text(canvas4Text,200,50);fill(_0x855d[12]);stroke(_0x855d[12]);rect(crustxS4,crustyS4,100,100);fill(_0x855d[13]);stroke(_0x855d[13]);rect(breadxS4,breadyS4,80,80);fill(_0x855d[16]);stroke(_0x855d[16]);rect(knifex,knifey,140,20);fill(_0x855d[11]);stroke(_0x855d[11]);rect(knifeHx,knifeHy,90,30);if(knifey< 350){knifey+= 1;knifeHy+= 1};if(knifey>= 300){crustxS4= 1000}}function canvas5(){textAlign(CENTER);textSize(20);text(canvas5Text,200,50);fill(_0x855d[13]);stroke(_0x855d[13]);rect(breadFullx,breadFully,80,80);rect(breadHalf1x,breadHalf1y,40,80);rect(breadHalf2x,breadHalf2y,40,80);fill(_0x855d[16]);stroke(_0x855d[16]);rect(knife5x,knife5y,140,20);fill(_0x855d[11]);stroke(_0x855d[11]);rect(knifeH5x,knifeH5y,90,30);if(knife5y< 350){knife5y+= 1;knifeH5y+= 1};if(knife5y>= 300){breadFullx= 1000;breadHalf1x= 180;breadHalf1y= 200;breadHalf2x= 240;breadHalf2y= 200}}function canvas6(){textAlign(CENTER);textSize(20);text(canvas6Text,200,50);fill(255,205,148);stroke(255,205,148);rect(270,150,130,20);fill(255,205,148);stroke(255,205,148);rect(270,250,130,20);fill(_0x855d[17]);stroke(_0x855d[17]);rect(290,170,130,20);rect(290,230,130,20);fill(_0x855d[11]);stroke(_0x855d[11]);line(310,230,310,250);line(330,230,330,250);line(350,230,350,250);line(370,230,370,250);line(390,230,390,250);line(310,170,310,190);line(330,170,330,190);line(350,170,350,190);line(370,170,370,190);line(390,170,390,190);fill(_0x855d[13]);stroke(_0x855d[13]);rect(breadP1x,breadP1y,80,10);rect(breadP2x,breadP2y,80,10);rect(breadP3x,breadP3y,80,10);rect(breadP4x,breadP4y,80,10);fill(_0x855d[14]);stroke(_0x855d[14]);rect(jellyP1x,jellyP1y,60,10);rect(jellyP2x,jellyP2y,60,10);fill(245,188,98);stroke(245,188,98);rect(peanutP1x,peanutP1y,60,10);rect(peanutP2x,peanutP2y,60,10);breadP1x= breadP1x+ 1;breadP2x= breadP2x+ 1;breadP3x= breadP3x+ 1;breadP4x= breadP4x+ 1;jellyP1x= jellyP1x+ 1;jellyP2x= jellyP2x+ 1;peanutP1x= peanutP1x+ 1;peanutP2x= peanutP2x+ 1;fill(_0x855d[11])}