I'm getting very strange occurrences in my game. The simple version is I have A and D mapped to left and right (simulating a platform behavior). That works fine. I also have shift mapped to a dash ability. My code makes sure you can't move while you're dashing. Overall, everything TECHNICALLY works exactly how it should.
However, if I press and HOLD shift and a direction, sometimes it will dash, and then the player won't move. If I let go of shift while continue to hold the direction, after a half a second after releasing shift, the player will start to move again.
When I remap shift to the right mouse button, this goes problem goes away. For some reason, the shift button being held is somehow stopping the other keys from being pressed or held. Does anyone have any insight as to why this would be happening?
It's definitely not my code, because I just made a simple barebones test c3 project and it's happening in that, as well.
https://www.dropbox.com/s/zs2toih3q95f8ua/ShiftKeyTest.c3p?dl=0
Any help would be greatly appreciated!