Hi all,
I'm on episode 28, where, after drawing a tilemap, we're moving the player just using the keyboard, but the player doesn't move. I'm going to try to debug this myself, but there's a fundamental problem:
Obviously, I need to press a keyboard key so I can see follow that keyboard press through the code. But I can't work out how to do that in debug mode in VS, 'cause I need to be pressing keys in order to step through the code. Like, when I was debugging my controller, I could simply hold the analog stick with one hand and step through simultaneously using the keyboard to see what was happening, but I can't work out how to do something equivalent in order to check how it's processing my keyboard presses.
I did a check with OutputDebugStringA, so I know they're being recognized and going through ProcessPendingMessages and ProcessKeyboardMessages, I just wanna be able to either retain or enter keyboard-input while debugging so I can see how exactly they're (not) being passed through the player movement code.
Any help would be appreciated, thanks.