Solved! Thank for the help and sorry for the spam thread lol..
Btw, could you explain the process of calling print() if im unsure about the values? Like in this case, where would I place print() to get a clue if my values are being used correct?
Search found 5 matches
- Mon Oct 02, 2023 8:27 pm
- Forum: Support and Development
- Topic: Pong game cs50g paddles dont respond to keyboard.isdown('w')
- Replies: 8
- Views: 8577
- Mon Oct 02, 2023 7:38 pm
- Forum: Support and Development
- Topic: Pong game cs50g paddles dont respond to keyboard.isdown('w')
- Replies: 8
- Views: 8577
Re: Pong game cs50g paddles dont respond to keyboard.isdown('w')
I did notice however that you're right about the fact that player1Y had to be added to the draw section, I just noticed I had totally missed that part from the video..
- Mon Oct 02, 2023 7:35 pm
- Forum: Support and Development
- Topic: Pong game cs50g paddles dont respond to keyboard.isdown('w')
- Replies: 8
- Views: 8577
Re: Pong game cs50g paddles dont respond to keyboard.isdown('w')
Agree with Brot, but from what I can tell of your code, your issue is here: --left paddle love.graphics.rectangle('fill', 10, 30, 5, 20) --right paddle love.graphics.rectangle('fill', VIRTUAL_WIDTH - 10, VIRTUAL_HEIGHT - 50, 5, 20) Your controls are working fine, they just aren't being displayed co...
- Mon Oct 02, 2023 7:02 pm
- Forum: Support and Development
- Topic: Pong game cs50g paddles dont respond to keyboard.isdown('w')
- Replies: 8
- Views: 8577
Re: Pong game cs50g paddles dont respond to keyboard.isdown('w')
oh kk, re-posting this.
- Mon Oct 02, 2023 2:49 pm
- Forum: Support and Development
- Topic: Pong game cs50g paddles dont respond to keyboard.isdown('w')
- Replies: 8
- Views: 8577
Pong game cs50g paddles dont respond to keyboard.isdown('w')
Im working on the pong game of cs50g course. I can't seem to get my paddles to respond to the keyboard.isdown('w') function. Nothing happens. I've been following the video thoroughly so it's very confusing to me. All help is appreciated. Thanks. Edit: Also it should be mentioned that it does respond...