<sequence>
  <scene id="opening">

    <resources>
      <bg id="background" priority="1">
        <bitmap file="sequences/cave/cave1.jpg"/>
      </bg>
      <dialogbox/>
    </resources>

    <script>
      <!-- fade in -->
      <setbrightness value="0" duration="0"/>
      <setbrightness value="1" duration="0.5"/>
      <waitforall>
        <brightness/>
      </waitforall>

      <!-- dialog text -->
      <dialogbox characterdelay="0.02" orientation="neutral">
         Necesitas la llave correcta para esta cerradura.
      </dialogbox>

      <requestplayerconfirm/>
      <waitforall>
        <playerconfirm/>
      </waitforall>

      <!-- fade out -->
      <setbrightness value="0" duration="0.5"/>
      <waitforall>
        <brightness/>
      </waitforall>

    </script>
  </scene>
</sequence>
