title: libgdx, movement specific
body: <p>I have issue with movement. My goal is to make <strong>player move</strong> once key is pressed <strong>for its own width/height</strong>. For example: </p>
  
  <pre><code>if (Gdx.input.isKeyJustPressed(Input.Keys.A)) 
      player.position.x = player.position.x-moveSpeed;
  </code></pre>
  
  <p>that works precise, but I want it more smooth, to move exact distance in a second, but each millisecond a bit, not all at once. </p>
  
  <p>This makes player move smooth, but it's not precise:</p>
  
  <pre><code>if (Gdx.input.isKeyJustPressed(Input.Keys.A)) 
      player.position.x = player.position.x-moveSpeed*deltaTime;
  </code></pre>
  
  <p>How can I make smooth transition, but precise?</p>