<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:its="http://www.w3.org/2005/11/its" type="topic" style="task" id="rel-movement" xml:lang="zh-CN">

  <info>
    <link type="guide" xref="index#preferences"/>

    <revision pkgversion="3.8" version="0.1" date="2013-03-05" status="review"/>

    <include xmlns="http://www.w3.org/2001/XInclude" href="legal.xml"/>

    <credit type="author">
      <name>Aruna Sankaranarayanan</name>
      <email its:translate="no">aruna.evam@gmail.com</email>
    </credit>
    <credit type="editor">
      <name>Ekaterina Gerasimova</name>
      <email its:translate="no">kittykat3756@gmail.com</email>
    </credit>

    <desc>Enable relative movement.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Zhang Miao</mal:name>
      <mal:email>mymzhang@gmail.com</mal:email>
      <mal:years>2009</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Yuwen Dai</mal:name>
      <mal:email>yuwend@gmail.com</mal:email>
      <mal:years>2012</mal:years>
    </mal:credit>
  </info>

  <title>Relative movement</title>

  <p>When relative movement is enabled, the worm is maneuvered using just the
  default <key>Left</key> and <key>Right</key> keys or other
  <link xref="controls-change">customized keys</link> that control the leftward
  and rightward movement of a worm. When the <key>Left</key> key is pressed,
  the worm turns left, instead of moving towards the left of the screen.
  Similarly, when the <key>Right</key> key is pressed, the worm turns right
  instead of moving towards the right of the screen.</p>

  <table frame="all">
    <tr>
      <td>
        <figure>
          <title>Starting position:</title>
          <desc>The location of the worm before you decide to move it.</desc>
          <media type="image" src="figures/before-rel.png"/>
        </figure>
      </td>
      <td>
        <figure>
          <title>On pressing the <key>Left</key> key:</title>
          <desc>The worm turns left and begins to move downwards.</desc>
          <media type="image" src="figures/after-rel.png"/>
        </figure>
      </td>
    </tr>
    <tr>
      <td colspan="2">
        <note style="info">
          <p>If relative movement was not enabled, you would press the
          <key>Down</key> key to achieve the above result.</p>
        </note>
      </td>
    </tr>
  </table>

  <p>To enable relative movement:</p>

  <steps>
    <item>
      <p>Select <guiseq><gui style="menu">Settings</gui>
      <gui style="menuitem">Preferences</gui></guiseq>.</p>
    </item>
    <item>
      <p>Select the worm for which relative movement has to be enabled by
      clicking the appropriate <gui>Worm</gui> tab.</p>
    </item>
    <item>
      <p>Check the <gui style="checkbox">Use relative movement</gui> checkbox
      if it is unchecked.</p>
    </item>
    <item>
      <p>Click <gui style="button">Close</gui>.</p>
    </item>
  </steps>

</page>
