Dec-09-2020, 08:04 PM
I have changed the code and removed the get_pressed(). It works, however now the cursor only moves on each keystroke. It does not scroll while the key is held down, which to my understanding requires a boolean value to be used, like...
Another thing was that my get_event() did not have dt as a param like yours did in the example. I didn't see that in the state machine.
while left: self.moveLeft()any way to fix this while retaining the correct form?
Another thing was that my get_event() did not have dt as a param like yours did in the example. I didn't see that in the state machine.