title: How to make my sprite Jump? (XNA, C#)
body: <p>I've been working on a simple platformer game using XNA. I have been having some trouble working out a good jumping algorithm. After getting rid of the messy half done versions of the jumping algorithm all I have left is.</p>
  
  <pre><code>if (keystate.IsKeyDown(Keys.W))
  {
      spritePosition.Y = spritePosition.Y - 10;
  }
  </code></pre>
  
  <p>I realise this is a very unsophisticated start but any tips would be great. I'm a self taught programmer so some terminology might be lost on me, I tend to find looking at actual code the best way to learn. Thanks. </p>