
<level>
	<title>Puzzle 9: A Spinning Situation</title>
	<number>9</number>
	<description>A Spinning wall is preventing you from hitting this core. Stop it in the right place!</description>
	<background>
		<layer texture="background/magenta/Layer_magenta01.png" move="0" />
		<layer texture="background/magenta/Layer_magenta02.png" move="1" />
		<layer texture="background/magenta/Layer_magenta03.png" move="2" />
		<layer texture="background/magenta/Layer_magenta04.png" move="3" />
		<layer texture="background/magenta/Layer_magenta05.png" move="4" />
	</background>
	<stats>assets/Cutscenes/stats.scn</stats>
	<platform cycle="5">
		<color>0.4,0.4,1</color>
		<color>0.55,0.2,0.8</color>
		<color>0.4,0.8,0.8</color>
	</platform>
	<music>
		<base>music/challenge/Puzzle2.ogg</base>
	</music>

	<core>
		<ringcolor cycle="5">
		<color>0.4,0.4,1</color>
		<color>0.55,0.2,0.8</color>
		<color>0.4,0.8,0.8</color>
		</ringcolor>
		<glowcolor cycle="5">
		<color>0.4,0.4,1</color>
		<color>0.55,0.2,0.8</color>
		<color>0.4,0.8,0.8</color>
		</glowcolor>

		<hits total="4">
			<turret id="2" hits="2"/>
			<turret id="1" hits="2"/>
		</hits>
		
		<messages mindelay="10" maxdelay="30">
			<generic>
				<message icon="good">Stop the wall at just the right place to make a shot.</message>
				<message icon="good">The power node powers the spinning, shoot it to make it stop.</message>
				<message icon="good">Heal the power node using the sensor node to start spinning again.</message>
				<message icon="good">Time your shot carefully.</message>
				
			</generic>
		</messages>
		
	</core>


<ring type="wall" radius="0.25" speed="0">
	<section gap="45" sweep="90" color="0.55,0.2,0.8">
	<shrink gap="45" sweep="70">
	<node id="node1" />
	</shrink>
	<reflect />
	</section>
	<section gap="0" sweep="90" color="0.55,0.2,0.8">
	<shrink gap="20" sweep="70">
	<node id="node1" />
	</shrink>
	<reflect />
	</section>

	<section gap="0" sweep="90" color="0.55,0.2,0.8">
	<shrink gap="0" sweep="70">
	<node id="node0" />
	</shrink>
	<reflect />
	</section>
	<section gap="0" sweep="90" color="0.55,0.2,0.8">
	<shrink gap="20" sweep="70">
	<node id="node0" />
	</shrink>
	<reflect />
	</section>
</ring>


<ring type="shield" radius="0.6" speed="0" rotation="100">
  <shield color="0.55,0.2,0.8" id="node1">
  </shield>
    <shield color="0.55,0.2,0.8" id="node0">
  </shield>
</ring>


<ring type="wall" radius="0.9" speed="0">
<section gap="0" sweep="90" color="0.55,0.2,0.8">
<pulse period="1.5" offset="0" />
</section>
<section gap="0" sweep="90" color="0.55,0.2,0.8">
<pulse period="1.5" offset="0.25" />
</section>
<section gap="0" sweep="90" color="0.55,0.2,0.8">
<pulse period="1.5" offset="0.5" />
</section>
<section gap="0" sweep="90" color="0.55,0.2,0.8">
<pulse period="1.5" offset="0.75" />
</section>
</ring>

<ring type="wall" radius="1" speed="0.1">
<section gap="0" sweep="300" color="0.55,0.2,0.8">
</section>
</ring>

<ring type="shield" radius="1.3" speed="0" rotation="180">
  <shield color="0.55,0.2,0.8" id="node2">
	<boost percent="250000" />
   </shield>
   <shield color="0.55,0.2,0.8">
	<trap target="node2" />
	<selfheal rate="50" />
   </shield>
</ring>


</level>