
//////////////////////
// Zoom TAG loupe  //
//Code By Ayoros  //
///////////////////

function part6() {
    this.vbl = 0 ;
    this.initdone = 0 ;
    this.canvaspart ;

    var bulx=0;
    var buly=0;

    var mybuffer1;
this.init=function(c){this.canvaspart=new canvas(640,400);mybuffer1=new canvas(276,92);this.initdone=1};
this.render=function(c){0==this.initdone&&this.init();myimage.draw(this.canvaspart);bulx+=0.02;buly+=0.03;var a=160*Math.sin(bulx),b=90*Math.sin(buly),d=220*Math.sin(bulx),e=120*Math.sin(buly);mybuffer1.contex.globalCompositeOperation="source-over";myimage.drawPart(mybuffer1,0,0,245+a,140+b,46,46,1,0,2,2);myimage.drawPart(mybuffer1,92,0,275-a,160-b,46,46,1,0,2,2);myimage.drawPart(mybuffer1,184,0,240+d,180-e,46,46,1,0,2,2);mybuffer1.contex.globalCompositeOperation="destination-in";mask.draw(mybuffer1);
mybuffer1.drawPart(this.canvaspart,281+a,174+b,0,0,92,92);mybuffer1.drawPart(this.canvaspart,310-a,194-b,92,0,92,92);mybuffer1.drawPart(this.canvaspart,275+d,214-e,184,0,92,92);ball_loupe.draw(this.canvaspart,272+a,174+b);ball_loupe.draw(this.canvaspart,301-a,194-b);ball_loupe.draw(this.canvaspart,266+d,214-e);this.canvaspart.draw(c,60,88);100>this.vbl&&mycanvasblack.draw(c,60,88,1-this.vbl/100);this.vbl>intro_parts[part_running].part_duration-100&&mycanvasblack.draw(c,60,88,1-(intro_parts[part_running].part_duration-
this.vbl)/100);this.vbl++};

    return this;
}

//////////////
//END PART6//
////////////
