CheeseLord / plaid

PLAtformer In D
MIT License
0 stars 0 forks source link

Change keyhandling to look at what keys are down, rather than firing every time one is pressed #9

Closed kronmillerg closed 8 years ago

kronmillerg commented 8 years ago

That way the player's speed isn't tied to the keyboard autorepeat rate.

See https://wiki.libsdl.org/SDL_GetKeyboardState for how to do this.