I usually don't comment but your videos are helping me a lot like the amount of knowledge I just gained in these videos are crazy. Thank you so much 😊. I am subbed ♥️.
Another great video! Has not seen ep3 yet! BUT! I ChatGPT:ed (is that cheating?) the conflicting paddle-movement and got this : (then it works for multiple players) Delete this if cheating. :) const Uint8 *keyState = SDL_GetKeyboardState(NULL); if (keyState[SDL_SCANCODE_DOWN]) { move_player( surface, &pl1, 1 ); }
Could it also be the key repeat rate and delay configured in the OS? I’m also thinking about something involving the WSL, but I’m not entirely sure about this
I usually don't comment but your videos are helping me a lot like the amount of knowledge I just gained in these videos are crazy. Thank you so much 😊. I am subbed ♥️.
Thanks a lot! That's good motivation for the next videos!
Right on time right on path! thanks
Another great video! Has not seen ep3 yet! BUT! I ChatGPT:ed (is that cheating?) the conflicting paddle-movement and got this : (then it works for multiple players) Delete this if cheating. :)
const Uint8 *keyState = SDL_GetKeyboardState(NULL);
if (keyState[SDL_SCANCODE_DOWN]) {
move_player( surface, &pl1, 1 );
}
Nah, it's not cheating! Any solution is welcome. It doesn't matter where it's from. Did you test it and is it working? If yes, awesome!
@@HirschDaniel yep it's working! ;)
awesome!
Hello. I think (May be wrong) it is dependent on keyboard (hw one) how and how many keys it sends.
Yes that is probably the case, thanks a lot!
Could it also be the key repeat rate and delay configured in the OS?
I’m also thinking about something involving the WSL, but I’m not entirely sure about this