Yes, as the others said, i was using only one variable for “keypresses”. To solve this, you just use a keypresses variable for each individual key. i also seperated each key. so i have a W state, A state, S state and so on.
Yes, as the others said, i was using only one variable for “keypresses”. To solve this, you just use a keypresses variable for each individual key. i also seperated each key. so i have a W state, A state, S state and so on.