Zomon333 / SadBoat-Engine

I was listening to someone play ukelele and it made me want to program a platformer. This is that.
3 stars 0 forks source link

Keypress duration only correctly monitors most recent key. #2

Closed Zomon333 closed 4 years ago

Zomon333 commented 4 years ago

Holding down two keys at once will only update the value of the most recently pressed key. Prior keys will still have the correct true/false state, allowing for accurate detection of if they are pressed, but not for how long.