xxxxxxxxxx
1
var _0x4898=["\x23\x42\x43\x45\x31\x45\x34\x45\x46","\x23\x36\x39\x35\x30\x34\x37","\x4C\x75\x63\x6B\x69\x65\x73\x74\x20\x47\x75\x79","\x48\x65\x6C\x69\x63\x6F\x70\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x73\x68\x6F\x77\x31","\x6D\x6F\x76\x65\x31","\x23\x38\x34\x34\x46\x33\x42","\x67\x72\x65\x79","\x23\x45\x31\x43\x44\x31\x45","\x23\x35\x41\x41\x37\x45\x34","\x77\x68\x69\x74\x65","\x72\x67\x62\x28\x31\x39\x37\x2C\x34\x36\x2C\x34\x36\x29","\x23\x46\x46\x39\x38\x30\x30","\x23\x46\x46\x44\x31\x34\x38","\x78\x31","\x79\x31"];var x=0;var y=0;var y1=0;var x1=0;var dir=0;var timer=0;var x2=0;var x3=0;var x4=0;let birds=[];function setup(){createCanvas(700,500);for(let _0xb89exc=0;_0xb89exc< 20;_0xb89exc++){let _0xb89exd=random(width);birds[_0xb89exc]= new Birds(random(width),random(height- 1000,height),random(1,3),random(1,3))}}function draw(){background(_0x4898[0]);fill(_0x4898[1]);textFont(_0x4898[2]);textSize(50);text(_0x4898[3],220,70);for(let _0xb89exf=0;_0xb89exf< birds[_0x4898[4]];_0xb89exf++){birds[_0xb89exf][_0x4898[5]]();birds[_0xb89exf][_0x4898[6]]()};strokeWeight(0);timer+= 1;if(timer== 1000){timer= 0};if(dir== 0){fill(_0x4898[7]);if(timer% 5== 0){ellipse(x- 45,y+ 180,80,20);noFill()}else {if(timer% 5== 1){ellipse(x+ 45,y+ 180,80,20);noFill()}};fill(_0x4898[8]);circle(x1- 118,y1+ 250,20);y1-= 5;if(y1+ 250< -100){y1= y};fill(_0x4898[7]);rect(x- 5,y+ 188,10,15);fill(_0x4898[9]);circle(x,y+ 180,20);fill(_0x4898[10]);quad(x- 55,y+ 250,x- 115,y+ 250,x- 115,y+ 255,x- 35,y+ 297);fill(_0x4898[9]);circle(x- 118,y+ 253,20);fill(_0x4898[10]);ellipse(x,y+ 250,135,110);fill(_0x4898[11]);arc(x+ 13,y+ 257,92,102,-PI/ 2,0);strokeWeight(3);stroke(_0x4898[7]);circle(x- 25,y+ 249,30);strokeWeight(0);fill(_0x4898[10]);fill(_0x4898[10])}else {if(dir== 1){fill(_0x4898[7]);if(timer% 5== 0){ellipse(x- 45,y+ 180,80,20);noFill()}else {if(timer% 5== 1){ellipse(x+ 45,y+ 180,80,20);noFill()}};fill(_0x4898[8]);circle(x1+ 118,y1+ 250,20);y1-= 5;if(y1+ 250< -100){y1= y};fill(_0x4898[7]);rect(x- 5,y+ 188,10,15);fill(_0x4898[9]);circle(x,y+ 180,20);fill(_0x4898[10]);quad(x+ 55,y+ 250,x+ 115,y+ 250,x+ 115,y+ 255,x+ 35,y+ 297);fill(_0x4898[9]);circle(x+ 118,y+ 253,20);fill(_0x4898[10]);ellipse(x,y+ 250,135,110);fill(_0x4898[11]);arc(x- 13,y+ 257,92,102,PI,-PI/ 2);strokeWeight(3);stroke(_0x4898[7]);circle(x+ 25,y+ 249,30);strokeWeight(0);fill(_0x4898[10]);fill(_0x4898[10])}};y+= 1.5;if(keyIsDown(UP_ARROW)){y1-= 3;y-= 3}else {if(keyIsDown(LEFT_ARROW)){x-= 3;x1-= 3;dir= 1}else {if(keyIsDown(RIGHT_ARROW)){x+= 3;x1+= 3;dir= 0}}};move1();if(y+ 250> 500){fill(_0x4898[12]);circle(width/ 2,500,x2);fill(_0x4898[13]);circle(width/ 2,500,x3);fill(_0x4898[14]);circle(width/ 2,500,x4);x2+= 0.75;x3+= 0.5;x4+= 0.25;y1= -1000}}function move1(){for(let _0xb89exc=0;_0xb89exc< 20;_0xb89exc++){var _0xb89ex11=abs(x- birds[_0xb89exc][_0x4898[15]]);var _0xb89ex12=abs((y+ 250)- (birds[_0xb89exc][_0x4898[16]]+ 180));if(_0xb89ex11< 100&& _0xb89ex12< 100){if(y> birds[_0xb89exc][_0x4898[16]]){birds[_0xb89exc][_0x4898[16]]-= 5}else {if(y< birds[_0xb89exc][_0x4898[16]]){birds[_0xb89exc][_0x4898[16]]+= 5}}}}}