title: Rpg Style Movement in XNA
body: <p>I am trying to make an RPG game in XNA and I am having problems with the movement. I want to create movement similar to in RPG maker, where you smoothly walk from tile to tile, and snap to the middle of a tile when you stop walking. How would I go about doing this? I have this, but it moves instantly from square to square with nothing between.</p>
  
  <pre><code>            if (aCurrentKeyboardState.IsKeyDown(Keys.Right) == true &amp;&amp; mPreviousKeyboardState != aCurrentKeyboardState)
              {
                  Position.X += 30;
              }
              else if (aCurrentKeyboardState.IsKeyDown(Keys.Left) == true &amp;&amp; mPreviousKeyboardState != aCurrentKeyboardState)
              {
                  Position.X -= 30;
              }
              else if (aCurrentKeyboardState.IsKeyDown(Keys.Up) == true &amp;&amp; mPreviousKeyboardState != aCurrentKeyboardState)
              {
                  Position.Y -= 30;
              }
              else if (aCurrentKeyboardState.IsKeyDown(Keys.Down) == true &amp;&amp; mPreviousKeyboardState != aCurrentKeyboardState)
              {
                  Position.Y += 30;
              }
  </code></pre>