Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Keyboard.GetState() not working?

$
0
0

@juju wrote:

Sorry for posting this huge image. So my character refuses to move. I've added breakpoints to check if everything is working and it seems so right up to the KeyboardControl() method, in which my variable, "ks", doesn't seem to be getting anything. "leftkey" is always false, even if I set it to true, like so, and the character just won't move. It won't work if I change the code and use the joystick as the main input either.

What am I missing?

Edit: leftkey becomes true if I set it to true, but the character still won't move :confused:

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles