task Stage2LordBack{
let Frame1=0;
let Frame2=0;
let Frame3=0;
let Move1=0;
let Move2=0;
let Move3=0;
let Move4=0;
let Move5=0;
let Move6=0;
LoadGraphic("script\script-Stage2\Sky2.png");   
LoadGraphic("script\script-Stage2\Road1.png");   
LoadGraphic("script\script-Stage2\Glass2.png");   
LoadGraphic("script\script-Stage2\Wood1.png");   
LoadGraphic("script\script-Stage2\Water.png");   
LoadGraphic("script\script-Stage2\Shadow1.png");   
LoadGraphic("script\script-Stage2\Shadow2.png");   
loop{
Move1+=2;
Move2+=1;
Move3+=2;
Move4+=2;
Move5+=2;
Move6+=2;
Frame1++;

SetTexture("script\script-Stage2\Sky2.png");
SetGraphicRect(0,0,3000-Move2,3000);
SetGraphicAngle(-50,0,0);
DrawGraphic3D(0,0,0);
SetTexture("script\script-Stage2\Water.png");
SetGraphicRect(0,0,3000+Move2,3000+Move2);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(0,-120,100);
SetTexture("script\script-Stage2\Water.png");
SetGraphicRect(0,0,3000+Move2,3000+Move2);
SetGraphicAngle(-120,0,180);
DrawGraphic3D(0,-120,100);
SetTexture("script\script-Stage2\Glass2.png");
SetGraphicRect(0,0,500,3000+Move1);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(-300,-120,100);
SetTexture("script\script-Stage2\Glass2.png");
SetGraphicRect(0,0,500,3000+Move1);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(500,-120,100);
SetTexture("script\script-Stage2\Road1.png");
SetGraphicRect(0,0,500,3000+Move1);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(-300,-120,100);
SetTexture("script\script-Stage2\Wood1.png");
SetGraphicRect(0,0,300,5000+Move3);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(100,-120,100);
SetTexture("script\script-Stage2\Shadow1.png");
SetGraphicRect(0,0,3000,442);
SetGraphicAngle(-120,0,0);
DrawGraphic3D(0,-120,-140);
SetTexture("script\script-Stage2\Shadow2.png");
SetGraphicRect(1,1,3000,161);
SetGraphicAngle(120,0,0);
DrawGraphic3D(0,-120,-315);


if(Move1>1024){
Move1=0;
}
if(Move2>1024){
Move2=0;
}
if(Move3>1166){
Move3=0;
}
if(Move4>2060){
Move4=0;
}

yield;
}
}