Hey,
i have a question about if statements. I am trying to write a code for movement of a sprite. I want to have different acceleration for the y direction and x direction. I believe I am very close in getting the kind of motion i need, there is just one problem i am having.
Here's an example of what I'm trying to do:
if (currentKeyboardState.IsKeyUp(Keys.A) (but not) (currentKeyboardState.IsKeyDown(Keys.D))
{
Do.Something
}
//Basically i need some kind of function to put where the (but not) is. So if the A key is up and the D key is down i don't want the "Do.Something" to run. If anyone could help that would be great.

