I am making a basic game with Slick2D and LWGJL but I am having a wierd issue that when i'm moving my player(an image) to the left/down it is slower than moving to the right/up.
Input input = gc.getInput();
if(input.isKeyDown(Input.KEY_W)){
PlayerY += delta * .1f;
}
if(input.isKeyDown(Input.KEY_S)){
PlayerY -= delta * .1f;
}
if(input.isKeyDown(Input.KEY_A)){
PlayerX -= delta * .1f;
}
if(input.isKeyDown(Input.KEY_D)){
PlayerX += delta * .1f;
}
All of this code is in the method update()
Edit: All of my code can be viewed in here https://www.dropbox.com/sh/p13sbxucmni36vd/K5XTaNOulm
Any help will be appreciated