[BGAnimation]
LengthSeconds=3
Sound=../_closedoor 1200ms delay.ogg

[Layer1]
File=../_white.png
Type=1
Command=diffusealpha,0;linear,0.6;diffusealpha,1

[Layer2]
File=../_door.png
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=zoomtowidth,320;zoomtoheight,240;y,120;x,-160;linear,0.4;x,160

[Layer3]
File=../_door.png
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=zoomtowidth,320;zoomtoheight,240;rotationx,180;y,360;x,-160;linear,0.4;x,160

[Layer4]
File=../_door.png
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=zoomtowidth,320;zoomtoheight,240;rotationz,180;y,360;x,800;linear,0.4;x,480

[Layer5]
File=../_door.png
Type=0		// 0=sprite, 1=stretch, 2=particles, 3=tiles
Command=zoomtowidth,320;zoomtoheight,240;rotationz,180;rotationx,180;y,120;x,800;linear,0.4;x,480

[Layer9]
File=win.png
Type=0		
Command=x,320;y,240;diffusealpha,0;sleep,1.2;linear,0.5;diffusealpha,1;sleep,2;linear,0.5;diffusealpha,0
