<ActorFrame InitCommand="%function(self)
gapSize = 5;
local cloudTex = '_clouds';
end"><children>

	<Layer Type="Quad"
		InitCommand="%function(self)
		FullScreen(self);
		self:diffuse(0,0,0,1);
		end"
		OnCommand="%function(self)
		self:linear(0.7);
		self:diffusealpha(0);
		end"
		/>

	<!-- bottom clouds (scrolling down now) -->
	<!-- texcoordvelocity,-0.2,0;blend,'BlendMode_Add'; -->
	<Layer File="_clouds"
		InitCommand="%function(self) Center(self); self:glow(1,1,1,0.1); self:diffusealpha(0.1) end"
		OnCommand="texcoordvelocity,0,-0.125;customtexturerect,0,0,2,1;zoomx,2;zoomy,1.05;wag;effectmagnitude,0,0,5;effectperiod,10;linear,0.5;diffusealpha,0.4;"
	/>

	<!-- texcoordvelocity,0.295,0;blend,'BlendMode_Add'; -->
	<Layer File="_clouds"
		InitCommand="%function(self) Center(self); self:diffusealpha(0.5) self:rotationy(90) end"
		OnCommand="texcoordvelocity,0,0.295;customtexturerect,0,0,2,1;zoomx,2;zoomy,1.05;linear,0.5;diffusealpha,0.3"
	/>

	<!-- top clouds -->
	<!-- texcoordvelocity,-0.5,0;blend,'BlendMode_Add'; -->
	<Layer File="_clouds"
		InitCommand="%function(self) Center(self); self:rotationy(40) self:glow(1,1,1,0.05); self:diffusealpha(0.075) end"
		OnCommand="texcoordvelocity,0,0.2;customtexturerect,0,0,2,1;zoomx,2.2;zoomy,1.05;linear,0.5;diffusealpha,0.25;"
	/>

	<!--
	-- 139px tall / SCREEN_CENTER_Y*0.579167
	-- SCREEN_CENTER_Y-99 -->
	<Layer Type="Quad"
		InitCommand="x,SCREEN_CENTER_X;y,SCREEN_TOP;vertalign,top;zoomx,SCREEN_WIDTH;diffuse,0,0,0,0.75;zoomy,0;"
		OnCommand="diffusebottomedge,0.25,0.25,0.25,0.75;linear,0.3;zoomy,SCREEN_CENTER_Y-99-gapSize;"
		/>
	<!--
	-- 99 pixels tall at y = SCREEN_CENTER_Y*0.4125 (SCREEN_CENTER_Y-141) with 2 pixel gap.
	-- 99-2 = [97 + x = final with gap.] -->
	<Layer Type="Quad"
		InitCommand="x,SCREEN_CENTER_X;y,SCREEN_BOTTOM;vertalign,bottom;zoomx,SCREEN_WIDTH;diffuse,0,0,0,0.75;zoomy,0;"
		OnCommand="diffusetopedge,0.25,0.25,0.25,0.75;linear,0.3;zoomy,SCREEN_CENTER_Y-139-gapSize;"
		/>

	<Layer Type="ActorFrame" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y-101"><children>
		<Layer Type="Quad"
			InitCommand="diffuse,#FFCC00"
			OnCommand="zoomto,0,5;linear,0.75;zoomto,SCREEN_WIDTH,5;"
			OffCommand="decelerate,1.25;zoomx,0;"
			/>

		<Layer Type="Quad"
			InitCommand="y,-1;diffuse,#FFCC00;blend,add;diffusealpha,0.35;"
			OnCommand="zoomto,0,2;linear,0.75;zoomto,SCREEN_WIDTH,2;"
			OffCommand="decelerate,1.25;zoomx,0;"
			/>
	</children></Layer>

	<Layer Type="ActorFrame" OnCommand="x,SCREEN_CENTER_X;y,SCREEN_CENTER_Y+143"><children>
		<Layer Type="Quad"
			InitCommand="diffuse,#FFCC00"
			OnCommand="zoomto,0,5;linear,0.75;zoomto,SCREEN_WIDTH,5;"
			OffCommand="decelerate,1.25;zoomx,0;"
			/>

		<Layer Type="Quad"
			InitCommand="y,-1;diffuse,#FFCC00;blend,add;diffusealpha,0.35;"
			OnCommand="zoomto,0,2;linear,0.75;zoomto,SCREEN_WIDTH,2;"
			OffCommand="decelerate,1.25;zoomx,0;"
			/>
	</children></Layer>

</children></ActorFrame>