<level>
  <playground map="fields.map">
    <gravity>
      <absolute x="32" y="9" w="7" h="16" gx="0" gy="0" vx="0" vy="-100" friction="100"/>
      <absolute x="18" y="9" w="4" h="8" gx="0" gy="0" vx="0" vy="0" friction="750"/>
      <absolute x="1" y="1" w="7" h="16" gx="0" gy="0" vx="0" vy="-100" friction="100"/>
    </gravity>
    <decorations>
      <platform id="1" x="3" y="24" w="10"/>
      <platform id="2" x="26" y="7" w="10" left="yellow" right="yellow"/>

      <fountain orientation="bottom" x="33" y="24" speed="100" lifetime="2"/>
      <fountain orientation="bottom" x="35" y="24" speed="100" lifetime="2"/>
      <fountain orientation="bottom" x="37" y="24" speed="100" lifetime="2"/>

      <fountain orientation="bottom" x="2" y="16" speed="100" lifetime="2"/>
      <fountain orientation="bottom" x="4" y="16" speed="100" lifetime="2"/>
      <fountain orientation="bottom" x="6" y="16" speed="100" lifetime="2"/>
    </decorations>
  </playground>

  <startposition platform="1"/>

  <gamecontrol>
  <![CDATA[
	function init() {
		addLandOnPlatformObjective(2);
	}
	
	function onObjectiveReached() {
		gameControl.finish();
	}
  ]]>
  </gamecontrol>
</level>
