trouble with pygame keyboard input
EthanCulp (4)

Whenever I press "w", it wont register my input. It isn't the code inside of the if statement because it isn't even printing "w"

https://repl.it/@EthanCulp/Game

You are viewing a single comment. View All
Answered by Zavexeon (434) [earned 5 cycles]
View Answer
EthanCulp (4)

that isn't the problem, when this is line is outside the if statement, it works just fine, but it won't stop moving. I need it so that when I press the "w" key, the y value will have vel subtracted from it (and yeah i know, it is supposed to be y -= vel to make it go up).